mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-28 22:23:43 +00:00
TITANIC: Fix leaving lift at SGT floor
This commit is contained in:
parent
ace9cfe60d
commit
6ab6fb8b19
@ -171,8 +171,8 @@ bool CPETPosition::EnterViewMsg(CEnterViewMsg *msg) {
|
||||
|
||||
bool CPETPosition::LeaveViewMsg(CLeaveViewMsg *msg) {
|
||||
CPetControl *pet = getPetControl();
|
||||
CString oldView = msg->_oldView->getName();
|
||||
CString newView = msg->_newView->getName();
|
||||
CString oldView = msg->_oldView->getFullViewName();
|
||||
CString newView = msg->_newView->getFullViewName();
|
||||
|
||||
if (pet && newView == "Lift.Node 1.N") {
|
||||
int elevatorNum = pet->getRoomsElevatorNum();
|
||||
|
@ -46,8 +46,8 @@ void CExitLift::load(SimpleFile *file) {
|
||||
|
||||
bool CExitLift::MouseButtonDownMsg(CMouseButtonDownMsg *msg) {
|
||||
CPetControl *pet = getPetControl();
|
||||
int floorNum = pet->getRoomsFloorNum();//ebx
|
||||
int elevNum = pet->getRoomsElevatorNum(); //eax
|
||||
int floorNum = pet->getRoomsFloorNum();
|
||||
int elevNum = pet->getRoomsElevatorNum();
|
||||
|
||||
if (floorNum == 39) {
|
||||
switch (elevNum) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user