mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-12 05:22:55 +00:00
add BOT_IS_RESPAWNING state on BotCreate
This commit is contained in:
parent
ebb2b9bcbe
commit
7e45ded64d
@ -294,6 +294,7 @@ void BotCreate(const char *skin, const char *name, const char *skill)
|
||||
sprintf(c_index, "%d", index);
|
||||
|
||||
bot_respawn[index].is_used = TRUE; // this slot is used
|
||||
bot_respawn[index].state = BOT_IS_RESPAWNING;
|
||||
|
||||
// don't store the name here, it might change if same as another
|
||||
strcpy(bot_respawn[index].skin, c_skin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user