aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-10-09 10:02:22 +0200
committerEugene Sandulenko2016-10-09 10:02:22 +0200
commitb5c4e09cec2a1c7280db969e4129609acf17e1c2 (patch)
tree6e1e3cdf822c8771d6d387842375884c663e8a94
parentf30f3c46e38d91729983a36e87f629d6b3a47a34 (diff)
downloadscummvm-rg350-b5c4e09cec2a1c7280db969e4129609acf17e1c2.tar.gz
scummvm-rg350-b5c4e09cec2a1c7280db969e4129609acf17e1c2.tar.bz2
scummvm-rg350-b5c4e09cec2a1c7280db969e4129609acf17e1c2.zip
BLADERUNNER: Fix compilation
-rw-r--r--engines/bladerunner/item_pickup.cpp2
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() {