diff options
author | Strangerke | 2014-12-02 16:29:42 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:55:56 -0500 |
commit | 66f9d71f1dc27ab0e4d3499703e39ebf35e87a27 (patch) | |
tree | d15e7735eab53d83254e4e667e821084ea01278e /engines/access/amazon/amazon_room.cpp | |
parent | 954a0d0f9f8ebf3fc49df583d9eda59de8f62ed8 (diff) | |
download | scummvm-rg350-66f9d71f1dc27ab0e4d3499703e39ebf35e87a27.tar.gz scummvm-rg350-66f9d71f1dc27ab0e4d3499703e39ebf35e87a27.tar.bz2 scummvm-rg350-66f9d71f1dc27ab0e4d3499703e39ebf35e87a27.zip |
ACCESS: Add some code for the intro (WIP)
Diffstat (limited to 'engines/access/amazon/amazon_room.cpp')
-rw-r--r-- | engines/access/amazon/amazon_room.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/access/amazon/amazon_room.cpp b/engines/access/amazon/amazon_room.cpp index 14514c2c7c..24aedf5722 100644 --- a/engines/access/amazon/amazon_room.cpp +++ b/engines/access/amazon/amazon_room.cpp @@ -41,7 +41,10 @@ AmazonRoom::~AmazonRoom() { } void AmazonRoom::loadRoom(int roomNumber) { - loadRoomData(ROOM_TABLE[roomNumber]); + if (_vm->isDemo()) + loadRoomData(ROOM_TABLE_DEMO[roomNumber]); + else + loadRoomData(ROOM_TABLE[roomNumber]); } void AmazonRoom::reloadRoom() { |