mirror of https://github.com/FWGS/hlsdk-xash3d
Mark save_bot's edict as free to fix UTIL_FindEntityInSphere
This commit is contained in:
parent
7e8d2c0add
commit
fa4a6e06eb
|
@ -1156,6 +1156,7 @@ void GGM_ConnectSaveBot( void )
|
|||
bot->v.health = 1;
|
||||
bot->v.deadflag = 0;
|
||||
bot->v.effects |= EF_NODRAW;
|
||||
bot->free = true;
|
||||
|
||||
client0->v.deadflag = deadflag;
|
||||
client0->v.health = health;
|
||||
|
|
Loading…
Reference in New Issue