diff --git a/regamedll/dlls/multiplay_gamerules.cpp b/regamedll/dlls/multiplay_gamerules.cpp index 49e26c5fd..558b10a52 100644 --- a/regamedll/dlls/multiplay_gamerules.cpp +++ b/regamedll/dlls/multiplay_gamerules.cpp @@ -4420,7 +4420,7 @@ int ReloadMapCycleFile(char *filename, mapcycle_t *cycle) #ifdef REGAMEDLL_FIXES Q_strncpy(szMap, pToken, sizeof(szMap) - 1); - szMap[sizeof(szMap) - 1] = 0; + szMap[sizeof(szMap) - 1] = '\0'; #else Q_strcpy(szMap, pToken); #endif