mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-09 01:42:25 +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()) {
|
if(IsMoving()) {
|
||||||
SetHeading(0);
|
SetHeading(0);
|
||||||
SetRunAnimSpeed(0);
|
SetRunAnimSpeed(0);
|
||||||
SetCurrentSpeed(GetRunSpeed());
|
SetCurrentSpeed(GetRunspeed());
|
||||||
|
|
||||||
if(moved) {
|
if(moved) {
|
||||||
SetCurrentSpeed(0);
|
SetCurrentSpeed(0);
|
||||||
@ -3512,7 +3512,6 @@ void Bot::AI_Process() {
|
|||||||
if(atCombatRange) {
|
if(atCombatRange) {
|
||||||
if(IsMoving()) {
|
if(IsMoving()) {
|
||||||
SetHeading(CalculateHeadingToTarget(GetTarget()->GetX(), GetTarget()->GetY()));
|
SetHeading(CalculateHeadingToTarget(GetTarget()->GetX(), GetTarget()->GetY()));
|
||||||
SetRunAnimSpeed(0);
|
|
||||||
SetCurrentSpeed(0);
|
SetCurrentSpeed(0);
|
||||||
if(moved) {
|
if(moved) {
|
||||||
moved = false;
|
moved = false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user