Unit/AI: Making Nayd happy.
(cherry picked from commit 59d02322a78b9f58c51930e085ad6cad9dd95eb0)
This commit is contained in:
@@ -1070,7 +1070,7 @@ void Player::Update(uint32 p_time)
|
||||
{
|
||||
UpdateCharmAI();
|
||||
NeedChangeAI = false;
|
||||
IsAIEnabled = !!GetAI();
|
||||
IsAIEnabled = (GetAI() != nullptr);
|
||||
}
|
||||
|
||||
// Update items that have just a limited lifetime
|
||||
|
||||
Reference in New Issue
Block a user