mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 09:56:30 +00:00
TITANIC: Fix receiving mail via SuccUBus
This commit is contained in:
parent
f48a9fdbf2
commit
98f2adeb2d
@ -413,6 +413,7 @@ bool CSuccUBus::PETDeliverMsg(CPETDeliverMsg *msg) {
|
||||
incTransitions();
|
||||
|
||||
if (_isFeathers) {
|
||||
// The feather has special handling to be rejected by the SuccUBus
|
||||
_sendLost = false;
|
||||
sendMail(destRoomFlags, roomFlags);
|
||||
pet->phonographAction("");
|
||||
@ -435,6 +436,7 @@ bool CSuccUBus::PETDeliverMsg(CPETDeliverMsg *msg) {
|
||||
playMovie(_afterReceiveStartFrame, _afterReceiveEndFrame, 0);
|
||||
}
|
||||
} else {
|
||||
// Send the mail to the destination
|
||||
sendMail(pet->getRoomFlags(), roomFlags);
|
||||
pet->phonographAction("");
|
||||
|
||||
|
@ -472,7 +472,7 @@ bool CRoomFlags::compareLocation(uint flags1, uint flags2) {
|
||||
CRoomFlags f1(flags1);
|
||||
CRoomFlags f2(flags2);
|
||||
|
||||
return f1.getElevatorNum() == f2.getElevatorBits() &&
|
||||
return f1.getElevatorNum() == f2.getElevatorNum() &&
|
||||
f1.getFloorNum() == f2.getFloorNum() &&
|
||||
f1.getRoomNum() == f2.getRoomNum();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user