diff options
author | Colin Snover | 2016-03-05 23:13:07 -0600 |
---|---|---|
committer | Colin Snover | 2016-03-05 23:13:38 -0600 |
commit | 4ba7f24632b5eefbf22e94311852ef49f5f3f343 (patch) | |
tree | b727be8abdcf6d1998658d6297104628ac5efb23 /engines/sci/graphics | |
parent | e4ffc1b6958050387d5d839e7c8f0004aa9efe9b (diff) | |
download | scummvm-rg350-4ba7f24632b5eefbf22e94311852ef49f5f3f343.tar.gz scummvm-rg350-4ba7f24632b5eefbf22e94311852ef49f5f3f343.tar.bz2 scummvm-rg350-4ba7f24632b5eefbf22e94311852ef49f5f3f343.zip |
SCI32: Fix incorrect insertion of new planes
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/plane32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/plane32.cpp b/engines/sci/graphics/plane32.cpp index 52dde4b465..e23017f21e 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; } |