diff options
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 616acf99a..c1ccf3c90 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -1575,7 +1575,7 @@ void Being::petLogic() const int time = tick_time; const int thinkTime = mInfo->getThinkTime(); - if (abs(mMoveTime - time) < thinkTime) + if (abs(static_cast<int>(mMoveTime) - time) < thinkTime) return; mMoveTime = time; |