[Scummvm-git-logs] scummvm master -> acb3edb601f6e343649cb7d9932dace86d445a43

bluegr bluegr at gmail.com
Tue Apr 9 20:14:27 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
acb3edb601 Sword25: image trace on quick cursor changes fix


Commit: acb3edb601f6e343649cb7d9932dace86d445a43
    https://github.com/scummvm/scummvm/commit/acb3edb601f6e343649cb7d9932dace86d445a43
Author: Fedor Antokhin (fantohin at gmail.com)
Date: 2019-04-09T21:14:23+03:00

Commit Message:
Sword25: image trace on quick cursor changes fix

Changed paths:
    engines/sword25/gfx/renderobjectmanager.cpp


diff --git a/engines/sword25/gfx/renderobjectmanager.cpp b/engines/sword25/gfx/renderobjectmanager.cpp
index 8aeecad..2666aae 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;
 }





More information about the Scummvm-git-logs mailing list