fix compiler warnings, including a if (foo = bar) occurance

svn-id: r14927
This commit is contained in:
Jonathan Gray 2004-09-06 07:06:11 +00:00
parent aa264a5079
commit 3f42d6f0ab
2 changed files with 2 additions and 2 deletions

View File

@ -857,7 +857,7 @@ void ScummEngine::removeObjectFromDrawQue(int object) {
int i;
for (i = 0; i < _drawObjectQueNr; i++) {
if (_drawObjectQue[i] = object)
if (_drawObjectQue[i] == object)
_drawObjectQue[i] = 0;
}
}

View File

@ -386,7 +386,7 @@ void ScummEngine_v90he::o90_unknown1C() {
if (value == 10) {
int flags = pop();
int unk = pop();
pop();
int y1 = pop();
int x1 = pop();
int resnum = pop();