diff options
author | Paul Gilbert | 2011-04-19 19:18:34 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-04-19 19:18:34 +1000 |
commit | 55f1fa8dba78c6c11365b98b358d249209db99fc (patch) | |
tree | 35d334e616f95c5192b45606d3cc8d9224d9f0ab /engines/tsage/core.cpp | |
parent | b929699ad20dc06a379fedb3704a28aec0f82347 (diff) | |
download | scummvm-rg350-55f1fa8dba78c6c11365b98b358d249209db99fc.tar.gz scummvm-rg350-55f1fa8dba78c6c11365b98b358d249209db99fc.tar.bz2 scummvm-rg350-55f1fa8dba78c6c11365b98b358d249209db99fc.zip |
TSAGE: Bugfixes for graphics glitches when using the lift in scene #2320
Diffstat (limited to 'engines/tsage/core.cpp')
-rw-r--r-- | engines/tsage/core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp index 2d0a69f89c..ba4c5923bc 100644 --- a/engines/tsage/core.cpp +++ b/engines/tsage/core.cpp @@ -2388,8 +2388,8 @@ void SceneObjectList::draw() { // Handle updating object priority if (!(obj->_flags & OBJFLAG_FIXED_PRIORITY)) { - obj->_priority = MIN((int)obj->_position.y - 1, - (int)_globals->_sceneManager._scene->_backgroundBounds.bottom); + obj->_priority = MIN((int)obj->_position.y, + (int)_globals->_sceneManager._scene->_backgroundBounds.bottom - 1); } if ((_globals->_paneRefreshFlag[paneNum] != 0) || !_globals->_paneRegions[paneNum].empty()) { |