bool Mob::CalculateNewPosition2(float x, float y, float z, float speed, bool checkZ) { if(IsNPC() || IsClient() || IsPet()) { pRunAnimSpeed = (int8)(speed*NPC_RUNANIM_RATIO); speed *= NPC_SPEED_MULTIPLIER; } return MakeNewPositionAndSendUpdate(x, y, z, speed, checkZ); }
bool Mob::CalculateNewPosition2(float x, float y, float z, int speed, bool checkZ, bool calcHeading) { return MakeNewPositionAndSendUpdate(x, y, z, speed, checkZ); }