summaryrefslogtreecommitdiff
path: root/src/gamebuilder.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2015-05-07 15:23:03 -0600
committerMike Buland <eichlan@xagasoft.com>2015-05-07 15:23:03 -0600
commit0655735c84f412b7ad3e65381dc24694a9ac8071 (patch)
tree42baeb025d0e2842fe0aad9b7e75da81db5e24ed /src/gamebuilder.cpp
parent75b3ad661c2d6ed382620a25613846c2b2b10f46 (diff)
downloadstage-main.tar.gz
stage-main.tar.bz2
stage-main.tar.xz
stage-main.zip
Goto was confused.HEADmain
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.cpp2
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
124void GameBuilder::closeSituationMode() 124void 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}