diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-30 22:15:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-30 22:15:24 +0300 |
commit | d70d41864853924a456595875b6811b74222dd7c (patch) | |
tree | 99485951528734a54cd2f8ad297e76860f7ba9d4 /src/being | |
parent | a619290b502486ea5b1ff5dd604864ab78c5edc9 (diff) | |
download | plus-d70d41864853924a456595875b6811b74222dd7c.tar.gz plus-d70d41864853924a456595875b6811b74222dd7c.tar.bz2 plus-d70d41864853924a456595875b6811b74222dd7c.tar.xz plus-d70d41864853924a456595875b6811b74222dd7c.zip |
Fix code style.
Diffstat (limited to 'src/being')
-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; |