summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-08 22:47:02 +0300
commit8daa939a45794c26a33e109c13c4d6f58a46e00e (patch)
treefa0c2f40eec569816cfa2565f1070ddd90f57bf3 /src/being/actorsprite.cpp
parent6d4da51f0fdcecc2d4398f60dbca43f499fdbe16 (diff)
downloadplus-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.gz
plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.bz2
plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.tar.xz
plus-8daa939a45794c26a33e109c13c4d6f58a46e00e.zip
Fix code style in being
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index 75d337bd5..936885ed2 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -149,11 +149,11 @@ void ActorSprite::setTargetType(const TargetCursorType type)
else
{
const TargetCursorSize sz = getTargetCursorSize();
- mUsedTargetCursor = targetCursor[type][sz];
+ mUsedTargetCursor = targetCursor[static_cast<int>(type)][sz];
if (mUsedTargetCursor)
{
- mCursorPaddingX = targetWidths[sz];
- mCursorPaddingY = targetHeights[sz];
+ mCursorPaddingX = static_cast<int>(targetWidths[sz]);
+ mCursorPaddingY = static_cast<int>(targetHeights[sz]);
}
}
}