Fix for bots compile

This commit is contained in:
KimLS
2015-01-23 18:24:53 -08:00
parent a7710c027b
commit 669bca8da8
2 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -2414,7 +2414,7 @@ bool Mob::HateSummon() {
if(target && target->IsBot()) {
// set pre summoning info to return to (to get out of melee range for caster)
target->CastToBot()->SetHasBeenSummoned(true);
target->CastToBot()->SetPreSummonLocation(target->GetPosition());
target->CastToBot()->SetPreSummonLocation(glm::vec3(target->GetPosition()));
}
#endif //BOTS