mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-10 19:10:25 +00:00
Fix for bots disappearing while idle
This commit is contained in:
@@ -1075,6 +1075,9 @@ void Bot::WalkTo(float x, float y, float z)
|
||||
if (IsSitting())
|
||||
Stand();
|
||||
|
||||
if (ping_timer.Enabled())
|
||||
ping_timer.Disable();
|
||||
|
||||
Mob::WalkTo(x, y, z);
|
||||
}
|
||||
|
||||
@@ -1083,6 +1086,9 @@ void Bot::RunTo(float x, float y, float z)
|
||||
if (IsSitting())
|
||||
Stand();
|
||||
|
||||
if (ping_timer.Enabled())
|
||||
ping_timer.Disable();
|
||||
|
||||
Mob::RunTo(x, y, z);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user