Do not set AI intention to idle with stopMove method.

Contributed by Strelook66.
This commit is contained in:
MobiusDevelopment
2021-11-23 02:17:44 +00:00
parent a8aa0f4917
commit ac2aef92f9
2 changed files with 0 additions and 12 deletions

View File

@ -5086,12 +5086,6 @@ public abstract class Creature extends WorldObject implements ISkillsHolder
_move = null;
_cursorKeyMovement = false;
// Set AI_INTENTION_IDLE
if ((this instanceof Player) && (getAI() != null))
{
((Player) this).getAI().setIntention(CtrlIntention.AI_INTENTION_IDLE);
}
// Set the current position (x,y,z), its current WorldRegion if necessary and its heading
// All data are contained in a CharPosition object
if (pos != null)