]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix a bgmscript crash that was happening with the latest engine
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 18 Nov 2011 00:00:16 +0000 (02:00 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 18 Nov 2011 00:00:16 +0000 (02:00 +0200)
data/qcsrc/client/bgmscript.qc

index a094eca59803323f313a312613e46782e5f2a84d..88751a3d31ffc34f9685c6eecfc0be8c13954b54 100644 (file)
@@ -132,7 +132,7 @@ void BGMScript_InitEntity(entity e)
                if(i >= bgmscriptbufsize)\r
                {\r
                        print("ERROR: bgmscript does not define ", e.bgmscript, "\n");\r
-                       e.bgmscript = "";\r
+                       e.bgmscript = string_null;\r
                }\r
        }\r
 }\r