From 8daa939a45794c26a33e109c13c4d6f58a46e00e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:47:02 +0300 Subject: Fix code style in being --- src/being/actorsprite.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/being/actorsprite.cpp') 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(type)][sz]; if (mUsedTargetCursor) { - mCursorPaddingX = targetWidths[sz]; - mCursorPaddingY = targetHeights[sz]; + mCursorPaddingX = static_cast(targetWidths[sz]); + mCursorPaddingY = static_cast(targetHeights[sz]); } } } -- cgit v1.2.3-70-g09d2