mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-27 23:25:41 +03:00
Fix crash on bot_nav_save
This commit is contained in:
parent
a8cc9cc76f
commit
1bb33cb980
@ -622,8 +622,7 @@ void CCSBotManager::__MAKE_VHOOK(ServerCommand)(const char *pcmd)
|
|||||||
else if (FStrEq(pcmd, "bot_nav_save"))
|
else if (FStrEq(pcmd, "bot_nav_save"))
|
||||||
{
|
{
|
||||||
GET_GAME_DIR(buffer);
|
GET_GAME_DIR(buffer);
|
||||||
buffer[ Q_strlen(buffer) ] = '\\';
|
Q_strcat(buffer, "\\");
|
||||||
|
|
||||||
Q_strcat(buffer, CBotManager::GetNavMapFilename());
|
Q_strcat(buffer, CBotManager::GetNavMapFilename());
|
||||||
|
|
||||||
if (SaveNavigationMap(buffer))
|
if (SaveNavigationMap(buffer))
|
||||||
|
Loading…
Reference in New Issue
Block a user