diff options
Diffstat (limited to 'engines/titanic/game_manager.cpp')
-rw-r--r-- | engines/titanic/game_manager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/titanic/game_manager.cpp b/engines/titanic/game_manager.cpp index a80e871e49..a3c241c1dc 100644 --- a/engines/titanic/game_manager.cpp +++ b/engines/titanic/game_manager.cpp @@ -235,4 +235,11 @@ void CGameManager::frameMessage(CRoomItem *room) { } } +void CGameManager::extendBounds(const Rect &r) { + if (_bounds.isEmpty()) + _bounds = r; + else + _bounds.combine1(r); +} + } // End of namespace Titanic |