aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Eriksson2003-11-13 08:18:52 +0000
committerDavid Eriksson2003-11-13 08:18:52 +0000
commitae75f49b46b387c599d321e3e778b4387fec5abd (patch)
tree2af9b0ec00c30c40377a3a1d91b867731e621d2f
parent91f422776bde2dc400561750f1774704ccce6bac (diff)
downloadscummvm-rg350-ae75f49b46b387c599d321e3e778b4387fec5abd.tar.gz
scummvm-rg350-ae75f49b46b387c599d321e3e778b4387fec5abd.tar.bz2
scummvm-rg350-ae75f49b46b387c599d321e3e778b4387fec5abd.zip
Use constant for pinnacle room number.
svn-id: r11276
-rw-r--r--queen/queen.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp
index b70e77e976..63083bb29b 100644
--- a/queen/queen.cpp
+++ b/queen/queen.cpp
@@ -125,8 +125,7 @@ void QueenEngine::roomChanged() {
// logic because that would cause a circular dependency between Cutaway and
// Logic... :-(
- if (_logic->currentRoom() == 7) {
- warning("Room 7 not yet handled!");
+ if (_logic->currentRoom() == ROOM_JUNGLE_PINNACLE) {
_logic->handlePinnacleRoom();
}
else if (_logic->currentRoom() == FOTAQ_LOGO && _logic->gameState(VAR_INTRO_PLAYED) == 0) {