aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-02-15 19:50:57 +1100
committerPaul Gilbert2011-02-15 19:50:57 +1100
commitc45d141dae4b022fa7e3cc3a9b6b4b1d90117fe0 (patch)
treeeaee4f5b1c9a5b1b8f66937c2a638bf5056c5cf8 /engines/tsage
parenta53a10eff4bbc046500fa11a409879f793f5d472 (diff)
downloadscummvm-rg350-c45d141dae4b022fa7e3cc3a9b6b4b1d90117fe0.tar.gz
scummvm-rg350-c45d141dae4b022fa7e3cc3a9b6b4b1d90117fe0.tar.bz2
scummvm-rg350-c45d141dae4b022fa7e3cc3a9b6b4b1d90117fe0.zip
TSAGE: Bugfix to load walk region areas correctly
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index af07568f02..6d27293721 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -2736,7 +2736,7 @@ void Region::uniteLine(int yp, LineSliceSet &sliceSet) {
// Check whether to expand the left/bounds bounds
if (destSet.items[0].xs < _bounds.left)
- destSet.items[0].xs = _bounds.left;
+ _bounds.left = destSet.items[0].xs;
if (destSet.items[destSet.items.size() - 1].xe > _bounds.right)
_bounds.right = destSet.items[destSet.items.size() - 1].xe;
}