aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/actor.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index bd94f91d83..6f45edf088 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -859,8 +859,10 @@ void Actor::drawActorCostume()
if (!needRedraw)
return;
- // FIXME: ugly fix for samnmax inventory
- if (_vm->_gameId == GID_SAMNMAX && _vm->getState(995))
+ // FIXME: ugly fix for samnmax inventory (otherwise actors get drawn over the
+ // inventory). We make an exception for room 66 (the Car Bomb game), for otherwise
+ // that will be drawn incorrectly. Oh well....
+ if (_vm->_gameId == GID_SAMNMAX && _vm->getState(995) && _vm->_currentRoom != 66)
return;
needRedraw = false;