mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Replaced all usage of SDL_Color outside of render with ColorRGBA
This commit is contained in:
@@ -384,8 +384,8 @@ void MovementAnimation::tick(uint32_t msPassed)
|
||||
progress += float(msPassed) / 1000 * progressPerSecond;
|
||||
|
||||
//moving instructions
|
||||
myAnim->pos.x = static_cast<Sint16>(begX + distanceX * progress );
|
||||
myAnim->pos.y = static_cast<Sint16>(begY + distanceY * progress );
|
||||
myAnim->pos.x = begX + distanceX * progress;
|
||||
myAnim->pos.y = begY + distanceY * progress;
|
||||
|
||||
BattleAnimation::tick(msPassed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user