mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 23:01:58 +00:00
fix compiler warnings, including a if (foo = bar) occurance
svn-id: r14927
This commit is contained in:
parent
aa264a5079
commit
3f42d6f0ab
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user