aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/animation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/animation.cpp')
-rw-r--r--engines/avalanche/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/animation.cpp b/engines/avalanche/animation.cpp
index 0875dd223e..006ed5a3d3 100644
--- a/engines/avalanche/animation.cpp
+++ b/engines/avalanche/animation.cpp
@@ -172,7 +172,7 @@ void AnimationType::appear(int16 wx, int16 wy, byte wf) {
* @remarks Originally called 'collision_check'
*/
bool AnimationType::checkCollision() {
- for (int16 i = 0; i < _anim->kSpriteNumbMax; i++) {
+ for (byte i = 0; i < _anim->kSpriteNumbMax; i++) {
if (_anim->_sprites[i]._quick && (_anim->_sprites[i]._id != _id) &&
((_x + _info._xLength) > _anim->_sprites[i]._x) &&
(_x < (_anim->_sprites[i]._x + _anim->_sprites[i]._info._xLength)) &&