SHERLOCK: Fix gcc warnings

This commit is contained in:
Paul Gilbert 2015-06-03 22:05:52 -04:00
parent ff28b217b3
commit 9d67c95359
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ private:
int _lookHelp;
int _bgFound, _oldBgFound;
int _help, _oldHelp;
char _key, _oldKey;
int _key, _oldKey;
int _temp, _oldTemp;
int _oldLook;
bool _keyboardInput;

View File

@ -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;
}