diff options
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; |