Fix for aberrant bot animations when using ^summon (i.e., swimming in air)

This commit is contained in:
Uleat
2017-02-28 10:39:26 -05:00
parent a7cbe2f60e
commit 05ca4669a9
2 changed files with 10 additions and 0 deletions
+1
View File
@@ -5151,6 +5151,7 @@ void bot_subcommand_bot_summon(Client *c, const Seperator *sep)
bot_iter->WipeHateList();
bot_iter->SetTarget(bot_iter->GetBotOwner());
bot_iter->Warp(glm::vec3(c->GetPosition()));
bot_iter->DoAnim(0);
if (!bot_iter->HasPet())
continue;