diff options
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r-- | scumm/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index dc61789aa8..c5b4a4bbb9 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -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; } } |