summaryrefslogtreecommitdiff
path: root/src/situation.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-02-07 23:38:14 -0700
committerMike Buland <eichlan@xagasoft.com>2012-02-07 23:38:14 -0700
commit3a1a20a9bc7008abb7de241c44cc0d7a3d4a77d9 (patch)
treed1ae0b637370bc70863ec214e933b1695a47b857 /src/situation.cpp
parente9170376ec9d75f65949ac6b61694ddf7ad37897 (diff)
downloadstage-3a1a20a9bc7008abb7de241c44cc0d7a3d4a77d9.tar.gz
stage-3a1a20a9bc7008abb7de241c44cc0d7a3d4a77d9.tar.bz2
stage-3a1a20a9bc7008abb7de241c44cc0d7a3d4a77d9.tar.xz
stage-3a1a20a9bc7008abb7de241c44cc0d7a3d4a77d9.zip
All good except loops & function returns.
Diffstat (limited to 'src/situation.cpp')
-rw-r--r--src/situation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/situation.cpp b/src/situation.cpp
index 1d3a853..74875ac 100644
--- a/src/situation.cpp
+++ b/src/situation.cpp
@@ -39,12 +39,12 @@ void Situation::exec( class GameState &gState, Situation::Mode m )
39 { 39 {
40 case modeSetup: 40 case modeSetup:
41 if( pAstSetup ) 41 if( pAstSetup )
42 gState.parse( pAstSetup ); 42 gState.pushScope( pAstSetup );
43 break; 43 break;
44 44
45 case modeEnter: 45 case modeEnter:
46 if( pAstEnter ) 46 if( pAstEnter )
47 gState.parse( pAstEnter ); 47 gState.pushScope( pAstEnter );
48 break; 48 break;
49 } 49 }
50} 50}