[Scummvm-git-logs] scummvm master -> fce250372fdd6e9890a333f70d6236b32a1df898

dreammaster dreammaster at scummvm.org
Tue Sep 19 04:14:46 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
fce250372f TITANIC: Fix floor calculation in CChevCode::getChevFloorNum


Commit: fce250372fdd6e9890a333f70d6236b32a1df898
    https://github.com/scummvm/scummvm/commit/fce250372fdd6e9890a333f70d6236b32a1df898
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-09-18T22:14:40-04:00

Commit Message:
TITANIC: Fix floor calculation in CChevCode::getChevFloorNum

Changed paths:
    engines/titanic/game/chev_code.cpp


diff --git a/engines/titanic/game/chev_code.cpp b/engines/titanic/game/chev_code.cpp
index 119d82e..6c27b1f 100644
--- a/engines/titanic/game/chev_code.cpp
+++ b/engines/titanic/game/chev_code.cpp
@@ -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;
 }
 





More information about the Scummvm-git-logs mailing list