made it so endlevel...result=continue does not display victory message

This commit is contained in:
Dave White 2004-03-22 15:23:41 +00:00
parent bfaed71332
commit 75c10b896e
2 changed files with 2 additions and 1 deletions

View file

@ -101,7 +101,7 @@ struct config
config() {} config() {}
//create a node from data //create a node from data
config(const std::string& data, explicit config(const std::string& data,
const std::vector<line_source>* lines=0); //throws config::error const std::vector<line_source>* lines=0); //throws config::error
config(const config& cfg); config(const config& cfg);
~config(); ~config();

View file

@ -579,6 +579,7 @@ redo_turn:
//and the player returns 100% of gold. //and the player returns 100% of gold.
if(end_level.result == CONTINUE) { if(end_level.result == CONTINUE) {
state_of_game.gold = teams[0].gold(); state_of_game.gold = teams[0].gold();
return VICTORY;
} }
if((*level)["disallow_recall"] == "yes") { if((*level)["disallow_recall"] == "yes") {