diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-12-31 00:13:13 -0700 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-12-31 00:13:13 -0700 |
commit | 55e6f570f5760e970c6523458914b5e4c63a6ce4 (patch) | |
tree | ae996d612c6c55b914a960139a618922bf7e4971 /src/gamestate.cpp | |
parent | 3357b0a0ecc4d36ccd3c2668e9d55aaaefedf4df (diff) | |
download | stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.tar.gz stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.tar.bz2 stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.tar.xz stage-55e6f570f5760e970c6523458914b5e4c63a6ce4.zip |
Random function added, other fixes.
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r-- | src/gamestate.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp index dcae848..2032d5c 100644 --- a/src/gamestate.cpp +++ b/src/gamestate.cpp | |||
@@ -465,7 +465,8 @@ void GameState::parse( const AstBranch::NodeList &lCode ) | |||
465 | { | 465 | { |
466 | Variable v = popDeref(); | 466 | Variable v = popDeref(); |
467 | Variable x = popDeref(); | 467 | Variable x = popDeref(); |
468 | if( v.getType() == Variable::tDictionary ) | 468 | if( v.getType() == Variable::tDictionary || |
469 | v.getType() == Variable::tList ) | ||
469 | { | 470 | { |
470 | push( Variable( v.has( x ) ) ); | 471 | push( Variable( v.has( x ) ) ); |
471 | } | 472 | } |