TITANIC: Fix floor calculation in CChevCode::getChevFloorNum

This commit is contained in:
Paul Gilbert 2017-09-18 22:14:40 -04:00
parent 99678faf16
commit fce250372f

View File

@ -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;
}