diff options
author | Paul Gilbert | 2017-09-24 10:34:13 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-09-24 10:34:13 -0400 |
commit | b724ea65301ff2259e1638426da99c94a9966d65 (patch) | |
tree | 9f74dc0d265a5395fe47d0b08542f70b27dc9f4d /engines/titanic | |
parent | 2bc23ba6c347a5e02b95e0bcf6cf5f47e14b5587 (diff) | |
download | scummvm-rg350-b724ea65301ff2259e1638426da99c94a9966d65.tar.gz scummvm-rg350-b724ea65301ff2259e1638426da99c94a9966d65.tar.bz2 scummvm-rg350-b724ea65301ff2259e1638426da99c94a9966d65.zip |
TITANIC: Fix compiler warnings in DeskbotScript
Diffstat (limited to 'engines/titanic')
-rw-r--r-- | engines/titanic/true_talk/deskbot_script.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/titanic/true_talk/deskbot_script.cpp b/engines/titanic/true_talk/deskbot_script.cpp index cd3db1e1f1..128868c84e 100644 --- a/engines/titanic/true_talk/deskbot_script.cpp +++ b/engines/titanic/true_talk/deskbot_script.cpp @@ -365,14 +365,14 @@ exit: int DeskbotScript::preResponse(uint id) { int newId = 0; if (getValue(1) >= 3 && ( - id == TRANSLATE(41176, 41190) || - id == TRANSLATE(41738, 41429) || - id == TRANSLATE(41413, 41755) || - id == TRANSLATE(41740, 41757) + id == (uint)TRANSLATE(41176, 41190) || + id == (uint)TRANSLATE(41738, 41429) || + id == (uint)TRANSLATE(41413, 41755) || + id == (uint)TRANSLATE(41740, 41757) )) { newId = 241601; } - if (id == TRANSLATE(42114, 42132)) + if (id == (uint)TRANSLATE(42114, 42132)) CTrueTalkManager::triggerAction(20, 0); return newId; |