From 2b495cea5a67f585d1f902e4db0fbb4f7dcbce76 Mon Sep 17 00:00:00 2001 From: SecretsOTheP Date: Tue, 26 May 2015 01:19:49 -0400 Subject: [PATCH] bot fixes for compiling --- zone/bot.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 5ddbb1377..8de38f6a4 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -3446,7 +3446,7 @@ void Bot::AI_Process() { if(IsMoving()) { SetHeading(0); SetRunAnimSpeed(0); - SetCurrentSpeed(GetRunSpeed()); + SetCurrentSpeed(GetRunspeed()); if(moved) { SetCurrentSpeed(0); @@ -3512,7 +3512,6 @@ void Bot::AI_Process() { if(atCombatRange) { if(IsMoving()) { SetHeading(CalculateHeadingToTarget(GetTarget()->GetX(), GetTarget()->GetY())); - SetRunAnimSpeed(0); SetCurrentSpeed(0); if(moved) { moved = false;