From f8ab3f866e4592a4dd6c984b9d58f21844ea132f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 8 Nov 2009 18:55:18 +0000 Subject: Silence gcc warning by putting parentheses around an && expression nested in an || expression. svn-id: r45752 --- engines/draci/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/draci/animation.cpp') diff --git a/engines/draci/animation.cpp b/engines/draci/animation.cpp index 3121cc2a40..ba98a0ab25 100644 --- a/engines/draci/animation.cpp +++ b/engines/draci/animation.cpp @@ -97,7 +97,7 @@ void Animation::nextFrame(bool force) { Surface *surface = _vm->_screen->getSurface(); if (force || (_tick + frame->getDelay() <= _vm->_system->getMillis()) || - _canBeQuick && _vm->_game->getEnableQuickHero() && _vm->_game->getWantQuickHero()) { + (_canBeQuick && _vm->_game->getEnableQuickHero() && _vm->_game->getWantQuickHero())) { // If we are at the last frame and not looping, stop the animation // The animation is also restarted to frame zero if ((_currentFrame == getFrameCount() - 1) && !_looping) { -- cgit v1.2.3