aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Hamm2007-12-17 19:21:59 +0000
committerVincent Hamm2007-12-17 19:21:59 +0000
commitbfbf992907e2f97727459b1e48b6ae8e07e30223 (patch)
tree08abf84e2386ab952b1740a11f4535c03e97bf6f
parente2e846a4b29eae605bfc507b8024d601c4a44c4a (diff)
downloadscummvm-rg350-bfbf992907e2f97727459b1e48b6ae8e07e30223.tar.gz
scummvm-rg350-bfbf992907e2f97727459b1e48b6ae8e07e30223.tar.bz2
scummvm-rg350-bfbf992907e2f97727459b1e48b6ae8e07e30223.zip
Fix glitchy cell sorting
svn-id: r29895
-rw-r--r--engines/cruise/cell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cruise/cell.cpp b/engines/cruise/cell.cpp
index bd86af7884..b0a2775c62 100644
--- a/engines/cruise/cell.cpp
+++ b/engines/cruise/cell.cpp
@@ -339,6 +339,8 @@ void sortCells(int16 param1, int16 param2, cellStruct *objPtr) {
objPtr->prev = pl2->prev;
}
+ pl4 = prov.next;
+
if (pl4) {
pl4->prev = pl2;
} else {