diff options
author | Eugene Sandulenko | 2016-10-09 10:02:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-10-09 10:02:22 +0200 |
commit | b5c4e09cec2a1c7280db969e4129609acf17e1c2 (patch) | |
tree | 6e1e3cdf822c8771d6d387842375884c663e8a94 /engines/bladerunner/item_pickup.cpp | |
parent | f30f3c46e38d91729983a36e87f629d6b3a47a34 (diff) | |
download | scummvm-rg350-b5c4e09cec2a1c7280db969e4129609acf17e1c2.tar.gz scummvm-rg350-b5c4e09cec2a1c7280db969e4129609acf17e1c2.tar.bz2 scummvm-rg350-b5c4e09cec2a1c7280db969e4129609acf17e1c2.zip |
BLADERUNNER: Fix compilation
Diffstat (limited to 'engines/bladerunner/item_pickup.cpp')
-rw-r--r-- | engines/bladerunner/item_pickup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/item_pickup.cpp b/engines/bladerunner/item_pickup.cpp index ff5f5e9763..9792493a78 100644 --- a/engines/bladerunner/item_pickup.cpp +++ b/engines/bladerunner/item_pickup.cpp @@ -95,7 +95,7 @@ void ItemPickup::tick() { _facing -= float(2.0f * M_PI); } - _animationFrame = (_animationFrame + 1) % _vm->_sliceAnimations->getFrameCount(_animationId); + _animationFrame = ((int)(_animationFrame + 1)) % ((int)_vm->_sliceAnimations->getFrameCount(_animationId)); } void ItemPickup::draw() { |