mirror of
https://github.com/EQEmu/Server.git
synced 2026-01-07 22:53:51 +00:00
bot fixes for compiling
This commit is contained in:
parent
5c4389effb
commit
2b495cea5a
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user