mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 02:38:32 +00:00
TITANIC: Fix floor calculation in CChevCode::getChevFloorNum
This commit is contained in:
parent
99678faf16
commit
fce250372f
@ -132,7 +132,7 @@ bool CChevCode::GetChevFloorNum(CGetChevFloorNum *msg) {
|
||||
break;
|
||||
}
|
||||
|
||||
msg->_floorNum = (val1 >= 10) ? 0 : val1 * 10;
|
||||
msg->_floorNum = (val1 >= 10) ? 0 : val2 * 10 + val1;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user