aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_room_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/true_talk/tt_room_script.h')
-rw-r--r--engines/titanic/true_talk/tt_room_script.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/true_talk/tt_room_script.h b/engines/titanic/true_talk/tt_room_script.h
index f64570995c..30133b24da 100644
--- a/engines/titanic/true_talk/tt_room_script.h
+++ b/engines/titanic/true_talk/tt_room_script.h
@@ -42,7 +42,7 @@ public:
/**
* Called when the script changes
*/
- virtual int scriptChanged(TTScriptBase *npcScript, int id) = 0;
+ virtual ScriptChangedResult scriptChanged(TTScriptBase *npcScript, int id) = 0;
virtual void proc11() = 0;
};
@@ -62,14 +62,14 @@ public:
/**
* Called when the script changes
*/
- virtual int scriptChanged(TTScriptBase *npcScript, int id);
+ virtual ScriptChangedResult scriptChanged(TTScriptBase *npcScript, int id);
virtual void proc11();
/**
* Called with the new script and id
*/
- int notifyScript(TTScriptBase *npcScript, int id) {
+ ScriptChangedResult notifyScript(TTScriptBase *npcScript, int id) {
return scriptChanged(npcScript, id);
}
};