]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix verbose notifications not working properly
authorterencehill <piuntn@gmail.com>
Sat, 15 Mar 2014 23:27:51 +0000 (00:27 +0100)
committerterencehill <piuntn@gmail.com>
Sat, 15 Mar 2014 23:27:51 +0000 (00:27 +0100)
qcsrc/common/notifications.qc

index 4fd6e1f25dcc37373a00a04a565aec114867ddb2..8f21db76ca870b0e6e0ebf182fd6693e4b4d75dc 100644 (file)
@@ -2027,7 +2027,7 @@ void Send_Notification(
                #define RECURSE_FROM_CHOICE(ent,action) \
                        if(notif.nent_challow_var && (warmup_stage || (notif.nent_challow_var == 2))) \
                        { \
-                               switch(ent.msg_choice_choices[net_name]) \
+                               switch(ent.msg_choice_choices[net_name - 1]) \
                                { \
                                        case 1: found_choice = notif.nent_optiona; break; \
                                        case 2: found_choice = notif.nent_optionb; break; \