fix compiler warnings, including a if (foo = bar) occurance
svn-id: r14927
This commit is contained in:
parent
aa264a5079
commit
3f42d6f0ab
2 changed files with 2 additions and 2 deletions
|
@ -857,7 +857,7 @@ void ScummEngine::removeObjectFromDrawQue(int object) {
|
||||||
|
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < _drawObjectQueNr; i++) {
|
for (i = 0; i < _drawObjectQueNr; i++) {
|
||||||
if (_drawObjectQue[i] = object)
|
if (_drawObjectQue[i] == object)
|
||||||
_drawObjectQue[i] = 0;
|
_drawObjectQue[i] = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -386,7 +386,7 @@ void ScummEngine_v90he::o90_unknown1C() {
|
||||||
|
|
||||||
if (value == 10) {
|
if (value == 10) {
|
||||||
int flags = pop();
|
int flags = pop();
|
||||||
int unk = pop();
|
pop();
|
||||||
int y1 = pop();
|
int y1 = pop();
|
||||||
int x1 = pop();
|
int x1 = pop();
|
||||||
int resnum = pop();
|
int resnum = pop();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue