diff options
author | Mike Buland <eichlan@xagasoft.com> | 2015-05-07 15:23:03 -0600 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2015-05-07 15:23:03 -0600 |
commit | 0655735c84f412b7ad3e65381dc24694a9ac8071 (patch) | |
tree | 42baeb025d0e2842fe0aad9b7e75da81db5e24ed /src/gamebuilder.cpp | |
parent | 75b3ad661c2d6ed382620a25613846c2b2b10f46 (diff) | |
download | stage-main.tar.gz stage-main.tar.bz2 stage-main.tar.xz stage-main.zip |
The variable was being reset, then used by reference as the next
destination. Confusing to debug.
Diffstat (limited to 'src/gamebuilder.cpp')
-rw-r--r-- | src/gamebuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gamebuilder.cpp b/src/gamebuilder.cpp index e8ecf63..1002d71 100644 --- a/src/gamebuilder.cpp +++ b/src/gamebuilder.cpp | |||
@@ -123,7 +123,7 @@ void GameBuilder::beginSituationMode( Situation::Mode m ) | |||
123 | 123 | ||
124 | void GameBuilder::closeSituationMode() | 124 | void GameBuilder::closeSituationMode() |
125 | { | 125 | { |
126 | // sio << "Set situation <<" << pCurSit->getName() << ">> mode " << eCurSitMode << " to " << *pCurRoot << sio.nl; | 126 | //sio << "Set situation <<" << pCurSit->getName() << ">> mode " << eCurSitMode << " to " << *pCurRoot << sio.nl; |
127 | pCurSit->setAst( pCurRoot, eCurSitMode ); | 127 | pCurSit->setAst( pCurRoot, eCurSitMode ); |
128 | pCurRoot = pCurNode = NULL; | 128 | pCurRoot = pCurNode = NULL; |
129 | } | 129 | } |