Use constant for pinnacle room number.

svn-id: r11276
This commit is contained in:
David Eriksson 2003-11-13 08:18:52 +00:00
parent 91f422776b
commit ae75f49b46

View file

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