diff options
author | Fedor Antokhin | 2019-04-09 21:01:32 +0300 |
---|---|---|
committer | Filippos Karapetis | 2019-04-09 21:14:23 +0300 |
commit | acb3edb601f6e343649cb7d9932dace86d445a43 (patch) | |
tree | 16b070a810296292a32d9f8530f0c7f150c585cf | |
parent | 8469b8749c9e710992d22bdfa07e6afcff9cfd4d (diff) | |
download | scummvm-rg350-acb3edb601f6e343649cb7d9932dace86d445a43.tar.gz scummvm-rg350-acb3edb601f6e343649cb7d9932dace86d445a43.tar.bz2 scummvm-rg350-acb3edb601f6e343649cb7d9932dace86d445a43.zip |
Sword25: image trace on quick cursor changes fix
-rw-r--r-- | engines/sword25/gfx/renderobjectmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sword25/gfx/renderobjectmanager.cpp b/engines/sword25/gfx/renderobjectmanager.cpp index 8aeecad6b1..2666aae09f 100644 --- a/engines/sword25/gfx/renderobjectmanager.cpp +++ b/engines/sword25/gfx/renderobjectmanager.cpp @@ -52,7 +52,8 @@ void RenderObjectQueue::add(RenderObject *renderObject) { bool RenderObjectQueue::exists(const RenderObjectQueueItem &renderObjectQueueItem) { for (RenderObjectQueue::iterator it = begin(); it != end(); ++it) if ((*it)._renderObject == renderObjectQueueItem._renderObject && - (*it)._version == renderObjectQueueItem._version) + (*it)._version == renderObjectQueueItem._version && + (*it)._bbox == renderObjectQueueItem._bbox) return true; return false; } |