diff options
-rw-r--r-- | engines/toltecs/render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/toltecs/render.cpp b/engines/toltecs/render.cpp index c6dbe939b3..de5e77fb50 100644 --- a/engines/toltecs/render.cpp +++ b/engines/toltecs/render.cpp @@ -247,7 +247,7 @@ RenderQueueItem *RenderQueue::findItemInQueue(RenderQueueArray *queue, const Ren bool RenderQueue::hasItemChanged(const RenderQueueItem &item1, const RenderQueueItem &item2) { - if (item1.type != item1.type) + if (item1.type != item2.type) return true; if (item1.rect.left != item2.rect.left || |