mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +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
|
#ifdef REGAMEDLL_FIXES
|
||||||
Q_strncpy(szMap, pToken, sizeof(szMap) - 1);
|
Q_strncpy(szMap, pToken, sizeof(szMap) - 1);
|
||||||
szMap[sizeof(szMap) - 1] = 0;
|
szMap[sizeof(szMap) - 1] = '\0';
|
||||||
#else
|
#else
|
||||||
Q_strcpy(szMap, pToken);
|
Q_strcpy(szMap, pToken);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user