diff options
author | Filippos Karapetis | 2011-11-03 20:45:39 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:12 +0100 |
commit | e4d5320e7fbb183e68cb7c7b2221a6494fb18c38 (patch) | |
tree | 1acab236483e270fecd25af764f83ae52f4e9d9b /engines | |
parent | 8b503f558ed380514b4a070f1875383206952b85 (diff) | |
download | scummvm-rg350-e4d5320e7fbb183e68cb7c7b2221a6494fb18c38.tar.gz scummvm-rg350-e4d5320e7fbb183e68cb7c7b2221a6494fb18c38.tar.bz2 scummvm-rg350-e4d5320e7fbb183e68cb7c7b2221a6494fb18c38.zip |
TOLTECS: Fixed typo in logic
Diffstat (limited to 'engines')
-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 || |