From 25bc095f2495694aa7cd0d70634e35e81de95e47 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 7 May 2016 22:59:09 +0200 Subject: [PATCH] Fix messed up notification choices settings --- qcsrc/common/notifications/all.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/qcsrc/common/notifications/all.qc b/qcsrc/common/notifications/all.qc index ad2013dfa..267bd9e66 100644 --- a/qcsrc/common/notifications/all.qc +++ b/qcsrc/common/notifications/all.qc @@ -760,12 +760,11 @@ void Create_Notification_Entity_Choice(entity notif, #ifdef SVQC void Notification_GetCvars() { - int idx = 0; FOREACH(Notifications, it.nent_type == MSG_CHOICE, { GetCvars_handleFloat( get_cvars_s, get_cvars_f, - msg_choice_choices[idx++], + msg_choice_choices[it.nent_choice_idx], sprintf("notification_%s", it.nent_name) ); }); -- 2.39.2