mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
Merge pull request #16 from jonatan1024/master
Fix crash on bot_nav_save
This commit is contained in:
commit
e543d53165
@ -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