[Scummvm-cvs-logs] scummvm master -> 4ba7f24632b5eefbf22e94311852ef49f5f3f343
csnover
csnover at users.noreply.github.com
Sun Mar 6 06:13:43 CET 2016
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:
4ba7f24632 SCI32: Fix incorrect insertion of new planes
Commit: 4ba7f24632b5eefbf22e94311852ef49f5f3f343
https://github.com/scummvm/scummvm/commit/4ba7f24632b5eefbf22e94311852ef49f5f3f343
Author: Colin Snover (github.com at zetafleet.com)
Date: 2016-03-05T23:13:38-06:00
Commit Message:
SCI32: Fix incorrect insertion of new planes
Changed paths:
engines/sci/graphics/plane32.cpp
diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp
index 52dde4b..e23017f 100644
--- a/engines/sci/graphics/plane32.cpp
+++ b/engines/sci/graphics/plane32.cpp
@@ -839,7 +839,7 @@ int16 PlaneList::getTopSciPlanePriority() const {
void PlaneList::add(Plane *plane) {
for (iterator it = begin(); it != end(); ++it) {
- if ((*it)->_priority < plane->_priority) {
+ if ((*it)->_priority > plane->_priority) {
insert(it, plane);
return;
}
More information about the Scummvm-git-logs
mailing list