made trunk compile again,

...I'll ask yogi to review the change but quite sure this is what was
intended
This commit is contained in:
Mark de Wever 2007-02-25 09:06:47 +00:00
parent 707ab3d09c
commit 3b6d4ee0d3

View file

@ -153,8 +153,8 @@ LEVEL_RESULT play_game(display& disp, game_state& gamestate, const config& game_
gamestate.set_variables(*gamestate.snapshot.child("variables"));
}
//Replace game label with that from snapshot
if (!state.snapshot["label"].empty()){
state.label = state.snapshot["label"];
if (!gamestate.snapshot["label"].empty()){
gamestate.label = gamestate.snapshot["label"];
}
//get the current gold values of players so they don't start with the amount
//they had at the start of the scenario