Skip to content

Commit

Permalink
minor playcampaign refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Jun 15, 2014
1 parent 0b754ce commit 79797c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/playcampaign.cpp
Expand Up @@ -448,9 +448,9 @@ LEVEL_RESULT play_game(game_display& disp, saved_game& gamestate,
} else {
// Retrieve next scenario data.
gamestate.expand_scenario();
config * scenario = &gamestate.get_starting_pos();

if (io_type == IO_SERVER && gamestate.valid()) {
config * scenario = &gamestate.get_starting_pos();
mp_game_settings& params = gamestate.mp_settings();

// A hash have to be generated using an unmodified
Expand Down

0 comments on commit 79797c3

Please sign in to comment.