summaryrefslogtreecommitdiff
path: root/src/gamestate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamestate.cpp')
-rw-r--r--src/gamestate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gamestate.cpp b/src/gamestate.cpp
index 285c151..7777b1f 100644
--- a/src/gamestate.cpp
+++ b/src/gamestate.cpp
@@ -620,8 +620,8 @@ void GameState::parse( const AstBranch::NodeList &lCode )
620 { 620 {
621 throw Bu::ExceptionBase("You cannot use key:value pairs as iterators in a for each loop iterating over a list."); 621 throw Bu::ExceptionBase("You cannot use key:value pairs as iterators in a for each loop iterating over a list.");
622 } 622 }
623 const Variable::VariableList &rList = vIn.getList(); 623 const Variable::VariableArray &rList = vIn.getList();
624 for( Variable::VariableList::const_iterator i = 624 for( Variable::VariableArray::const_iterator i =
625 rList.begin(); i; i++ ) 625 rList.begin(); i; i++ )
626 { 626 {
627 setVariable( vrValue.sName, *i, vrValue.sid ); 627 setVariable( vrValue.sName, *i, vrValue.sid );