aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/project_item.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-26 21:10:17 -0500
committerPaul Gilbert2016-12-26 21:10:17 -0500
commit96c36d53984dc2047af5542a5378adeb8e42be7c (patch)
tree18770a310816f4f1b194f3d36842c313e2ccdf05 /engines/titanic/core/project_item.cpp
parent0e3bd1d679858b64df3a20821ce431d47ad9b8f2 (diff)
downloadscummvm-rg350-96c36d53984dc2047af5542a5378adeb8e42be7c.tar.gz
scummvm-rg350-96c36d53984dc2047af5542a5378adeb8e42be7c.tar.bz2
scummvm-rg350-96c36d53984dc2047af5542a5378adeb8e42be7c.zip
TITANIC: Hide any active PET text cursor when loading a savegame
Diffstat (limited to 'engines/titanic/core/project_item.cpp')
-rw-r--r--engines/titanic/core/project_item.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/core/project_item.cpp b/engines/titanic/core/project_item.cpp
index f9c7dbdd55..1093a5c6e7 100644
--- a/engines/titanic/core/project_item.cpp
+++ b/engines/titanic/core/project_item.cpp
@@ -309,6 +309,10 @@ void CProjectItem::saveData(SimpleFile *file, CTreeItem *item) const {
void CProjectItem::preLoad() {
if (_gameManager)
_gameManager->preLoad();
+
+ CScreenManager *scrManager = CScreenManager::_currentScreenManagerPtr;
+ if (scrManager)
+ scrManager->preLoad();
}
void CProjectItem::postLoad() {