]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix stupid typo... should fix occasional crashes
authorterencehill <piuntn@gmail.com>
Sat, 28 May 2011 06:37:04 +0000 (08:37 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 28 May 2011 07:22:53 +0000 (09:22 +0200)
qcsrc/client/hud.qc

index 44ce25192ba7212a0105a6919196dd26f215eb00..d5ad7c8a09c1c255b367acd1b69a1503ac7c7246 100644 (file)
@@ -4354,7 +4354,7 @@ void centerprint(string strMessage)
                {
                        if(centerprint_messages[j])
                                strunzone(centerprint_messages[j]);
-                       centerprint_messages[j] == strzone(msg_without_CPID(strMessage));
+                       centerprint_messages[j] = strzone(msg_without_CPID(strMessage));
                        centerprint_time[j] = time;
                        return;
                }