mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 07:05:38 +03:00
lil fix
This commit is contained in:
parent
b1c055369d
commit
bbfc3fe589
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user