diff options
author | Eugene Sandulenko | 2013-08-02 01:37:50 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:09 +0300 |
commit | 9232315880633e66f99e874623446664ca262719 (patch) | |
tree | 64a6148bcb0bc6055f946a7567daf4fade60e601 /engines/fullpipe | |
parent | 633a0fcd86e47b16d77be32a822f3e57120b9796 (diff) | |
download | scummvm-rg350-9232315880633e66f99e874623446664ca262719.tar.gz scummvm-rg350-9232315880633e66f99e874623446664ca262719.tar.bz2 scummvm-rg350-9232315880633e66f99e874623446664ca262719.zip |
FULLPIPE: Fix CGameVar::addSubVar()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/stateloader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/fullpipe/stateloader.cpp b/engines/fullpipe/stateloader.cpp index cf63df1d96..c49dafc947 100644 --- a/engines/fullpipe/stateloader.cpp +++ b/engines/fullpipe/stateloader.cpp @@ -318,12 +318,12 @@ bool CGameVar::addSubVar(CGameVar *subvar) { var->_nextVarObj = subvar; subvar->_prevVarObj = var; - subvar->_parentVarObj = var; + subvar->_parentVarObj = this; return true; } else { - var->_subVars = subvar; - subvar->_parentVarObj = var; + _subVars = subvar; + subvar->_parentVarObj = this; return true; } |