aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/tree_item.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-29 22:21:55 -0400
committerPaul Gilbert2016-03-29 22:21:55 -0400
commita1e959b4986914bd42bdbd4587cdfc2bd57ca3a0 (patch)
tree1a4b8e18b8164140bd458a5179993167121c3e47 /engines/titanic/core/tree_item.cpp
parente0602c4851ab42763cc66858fed8d05496040498 (diff)
downloadscummvm-rg350-a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0.tar.gz
scummvm-rg350-a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0.tar.bz2
scummvm-rg350-a1e959b4986914bd42bdbd4587cdfc2bd57ca3a0.zip
TITANIC: Fix PET post-loading
Diffstat (limited to 'engines/titanic/core/tree_item.cpp')
-rw-r--r--engines/titanic/core/tree_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/core/tree_item.cpp b/engines/titanic/core/tree_item.cpp
index 081c5806b6..61fcf97183 100644
--- a/engines/titanic/core/tree_item.cpp
+++ b/engines/titanic/core/tree_item.cpp
@@ -188,7 +188,7 @@ void CTreeItem::setParent(CTreeItem *newParent) {
}
void CTreeItem::addSibling(CTreeItem *item) {
- _priorSibling = item->_nextSibling;
+ _priorSibling = item;
_nextSibling = item->_nextSibling;
_parent = item->_parent;