From 5d85a3be8d796b1b335afcb0a2a962f979ad5ef4 Mon Sep 17 00:00:00 2001 From: Andrey Akhmichin Date: Tue, 24 Sep 2019 03:06:07 +0500 Subject: [PATCH] Fix build. --- dlls/multiplay_gamerules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/multiplay_gamerules.cpp b/dlls/multiplay_gamerules.cpp index 358a4470..8305a07f 100644 --- a/dlls/multiplay_gamerules.cpp +++ b/dlls/multiplay_gamerules.cpp @@ -1635,7 +1635,7 @@ void CHalfLifeMultiplay::ChangeLevel( void ) ALERT( at_console, "PLAYER COUNT: min %i max %i current %i\n", minplayers, maxplayers, curplayers ); } - if( szRules != '\0' ) + if( szRules[0] != '\0' ) { ALERT( at_console, "RULES: %s\n", szRules ); }