diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-08 22:47:02 +0300 |
commit | 8daa939a45794c26a33e109c13c4d6f58a46e00e (patch) | |
tree | fa0c2f40eec569816cfa2565f1070ddd90f57bf3 /src/being/actorsprite.cpp | |
parent | 6d4da51f0fdcecc2d4398f60dbca43f499fdbe16 (diff) | |
download | plus-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.cpp | 6 |
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]); } } } |