Browse Source

fix bot meta on spawn

bot10-yggverse bot10-yggverse-1.1.3
ghost 10 months ago
parent
commit
37199824eb
  1. 3
      dlls/bot/bot.cpp

3
dlls/bot/bot.cpp

@ -340,7 +340,8 @@ void CBot::Spawn( ) @@ -340,7 +340,8 @@ void CBot::Spawn( )
// get the bot's name and save it in respawn array...
strcpy(bot_respawn[respawn_index].name, STRING(pev->netname));
bot_respawn[respawn_index].state = BOT_IDLE;
bot_respawn[respawn_index].is_used = TRUE;
bot_respawn[respawn_index].state = BOT_IS_RESPAWNING;
pev->ideal_yaw = pev->v_angle.y;
pev->yaw_speed = BOT_YAW_SPEED;

Loading…
Cancel
Save