From 9456b62fd98f143c4674e13253207a2d43784f48 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Wed, 21 Aug 2013 19:25:59 -0400 Subject: [PATCH] Proper handling of string/float counts for MSG_CHOICE --- qcsrc/common/notifications.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/common/notifications.qc b/qcsrc/common/notifications.qc index 187e2e480..5c5c41e1e 100644 --- a/qcsrc/common/notifications.qc +++ b/qcsrc/common/notifications.qc @@ -813,6 +813,8 @@ void Create_Notification_Entity( break; } } + notif.nent_stringcount = max(notif.nent_optiona.nent_stringcount, notif.nent_optionb.nent_stringcount); + notif.nent_floatcount = max(notif.nent_optiona.nent_floatcount, notif.nent_optionb.nent_floatcount); } break; } -- 2.39.2