diff options
author | Paul Gilbert | 2016-08-14 22:19:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-14 22:19:06 -0400 |
commit | 440f0927570d30ab61fb640df22394296efbb265 (patch) | |
tree | 5ae2fa3d16228a79b995c8ebb21e5e20b4ff040d /engines/titanic/core | |
parent | 3dfd4ba296f407cec7533afee941be42ca5f61f1 (diff) | |
download | scummvm-rg350-440f0927570d30ab61fb640df22394296efbb265.tar.gz scummvm-rg350-440f0927570d30ab61fb640df22394296efbb265.tar.bz2 scummvm-rg350-440f0927570d30ab61fb640df22394296efbb265.zip |
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 2 | ||||
-rw-r--r-- | engines/titanic/core/game_object.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 12d4c5603a..ee378dd428 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -1442,7 +1442,7 @@ void CGameObject::resetMail() { mailMan->resetValue(); } -int CGameObject::getNewRandomNumber(int max, int *oldVal) { +int CGameObject::getRandomNumber(int max, int *oldVal) { if (oldVal) { int startingVal = *oldVal; while (*oldVal == startingVal && max > 0) diff --git a/engines/titanic/core/game_object.h b/engines/titanic/core/game_object.h index cdb5f6906a..722b6079af 100644 --- a/engines/titanic/core/game_object.h +++ b/engines/titanic/core/game_object.h @@ -531,7 +531,7 @@ protected: /** * Gets a new random number */ - int getNewRandomNumber(int max, int *oldVal = nullptr); + int getRandomNumber(int max, int *oldVal = nullptr); public: Rect _bounds; bool _isMail; |