mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-08 05:23:39 +00:00
bot fixes for compiling
This commit is contained in:
1 parent
5c4389effb
commit
2b495cea5a
1 file changed
+1
-2
+1
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user