Skip to content

Commit

Permalink
lil fix
Browse files Browse the repository at this point in the history
  • Loading branch information
etojuice committed Nov 11, 2020
1 parent b1c0553 commit bbfc3fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regamedll/dlls/multiplay_gamerules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbfc3fe

Please sign in to comment.