BLADERUNNER: Fix compilation

This commit is contained in:
Eugene Sandulenko 2016-10-09 10:02:22 +02:00
parent f30f3c46e3
commit b5c4e09cec

View File

@ -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() {