diff options
author | Paul Gilbert | 2017-06-21 19:48:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-21 19:48:03 -0400 |
commit | 69c74685c3fedc24e0e4428b40782a0629fc2d5a (patch) | |
tree | d5943998a387d6be99045b5853e0e7e8c9981962 /engines/titanic/game/sgt/sgt_doors.cpp | |
parent | 44f0a1906286a8864422516fc7f64457062465ca (diff) | |
download | scummvm-rg350-69c74685c3fedc24e0e4428b40782a0629fc2d5a.tar.gz scummvm-rg350-69c74685c3fedc24e0e4428b40782a0629fc2d5a.tar.bz2 scummvm-rg350-69c74685c3fedc24e0e4428b40782a0629fc2d5a.zip |
TITANIC: Renamings for room flags sublevel methods
Diffstat (limited to 'engines/titanic/game/sgt/sgt_doors.cpp')
-rw-r--r-- | engines/titanic/game/sgt/sgt_doors.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/game/sgt/sgt_doors.cpp b/engines/titanic/game/sgt/sgt_doors.cpp index 2dabd21077..31d1c472ea 100644 --- a/engines/titanic/game/sgt/sgt_doors.cpp +++ b/engines/titanic/game/sgt/sgt_doors.cpp @@ -58,7 +58,7 @@ bool CSGTDoors::EnterViewMsg(CEnterViewMsg *msg) { static const int START_FRAMES[7] = { 0, 26, 30, 34, 38, 42, 46 }; static const int END_FRAMES[7] = { 12, 29, 33, 37, 41, 45, 49 }; - if (pet->getRooms1CC() == 1) + if (pet->getRoomsSublevel() == 1) playMovie(START_FRAMES[roomNum], END_FRAMES[roomNum], MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH); else @@ -87,7 +87,7 @@ bool CSGTDoors::LeaveRoomMsg(CLeaveRoomMsg *msg) { static const int START_FRAMES[7] = { 12, 69, 65, 61, 57, 53, 49 }; static const int END_FRAMES[7] = { 25, 72, 68, 64, 60, 56, 52 }; - if (pet->getRooms1CC() == 1) + if (pet->getRoomsSublevel() == 1) playMovie(START_FRAMES[roomNum], END_FRAMES[roomNum], MOVIE_NOTIFY_OBJECT | MOVIE_WAIT_FOR_FINISH); else |