diff options
author | Paul Gilbert | 2015-06-03 22:05:52 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-03 22:05:52 -0400 |
commit | 9d67c9535940fb76b12b721325c92745611a4b96 (patch) | |
tree | 611ed5206b560a3a3ae485ec5313f3767142ba75 /engines/sherlock/talk.cpp | |
parent | ff28b217b3dc9d5a92debef7d59561126e14dd91 (diff) | |
download | scummvm-rg350-9d67c9535940fb76b12b721325c92745611a4b96.tar.gz scummvm-rg350-9d67c9535940fb76b12b721325c92745611a4b96.tar.bz2 scummvm-rg350-9d67c9535940fb76b12b721325c92745611a4b96.zip |
SHERLOCK: Fix gcc warnings
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index bb5c11c81f..d48b66cf8b 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1026,7 +1026,7 @@ void Talk::pushSequence(int speaker) { void Talk::pushTalkSequence(Object *obj) { // Check if the shape is already on the stack for (uint idx = 0; idx < TALK_SEQUENCE_STACK_SIZE; ++idx) { - if (_talkSequenceStack[idx]._obj = obj) + if (_talkSequenceStack[idx]._obj == obj) return; } |