mirror of
https://github.com/rehlds/ReGameDLL_CS.git
synced 2025-08-03 13:19:38 +03:00
lil fix
This commit is contained in:
parent
b1c055369d
commit
bbfc3fe589
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue