summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-30 22:15:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-30 22:15:24 +0300
commitd70d41864853924a456595875b6811b74222dd7c (patch)
tree99485951528734a54cd2f8ad297e76860f7ba9d4 /src/being/being.cpp
parenta619290b502486ea5b1ff5dd604864ab78c5edc9 (diff)
downloadplus-d70d41864853924a456595875b6811b74222dd7c.tar.gz
plus-d70d41864853924a456595875b6811b74222dd7c.tar.bz2
plus-d70d41864853924a456595875b6811b74222dd7c.tar.xz
plus-d70d41864853924a456595875b6811b74222dd7c.zip
Fix code style.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
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;