diff options
author | Paul Gilbert | 2016-07-22 19:20:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-22 21:54:48 -0400 |
commit | 4f08292c8c082361af7212e3951af4b1b6c45199 (patch) | |
tree | 21237f9eefa89b153eab0cb64a0bc2f93a410f15 /engines/titanic/true_talk | |
parent | 03b45f44dfdb86a9607aaa09a02e5c57968e275f (diff) | |
download | scummvm-rg350-4f08292c8c082361af7212e3951af4b1b6c45199.tar.gz scummvm-rg350-4f08292c8c082361af7212e3951af4b1b6c45199.tar.bz2 scummvm-rg350-4f08292c8c082361af7212e3951af4b1b6c45199.zip |
TITANIC: Add support for arbitrary window event targets
Also moved all standard game event methods to CMainGameWindow. This
will allow for the Continue Save dialog to be added in and get
events instead of the game window
Diffstat (limited to 'engines/titanic/true_talk')
-rw-r--r-- | engines/titanic/true_talk/tt_npc_script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_npc_script.cpp b/engines/titanic/true_talk/tt_npc_script.cpp index 70953914fa..8cce90ebff 100644 --- a/engines/titanic/true_talk/tt_npc_script.cpp +++ b/engines/titanic/true_talk/tt_npc_script.cpp @@ -416,7 +416,7 @@ void TTnpcScript::loadBody(SimpleFile *file) { for (uint idx = 0; idx < _ranges.size(); ++idx) { TTscriptRange &item = _ranges[idx]; - if (item._id == id) { + if (item._id == (uint)id) { item._priorIndex = val; break; } |