made it so endlevel...result=continue does not display victory message
This commit is contained in:
parent
bfaed71332
commit
75c10b896e
2 changed files with 2 additions and 1 deletions
|
@ -101,7 +101,7 @@ struct config
|
|||
config() {}
|
||||
|
||||
//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
|
||||
config(const config& cfg);
|
||||
~config();
|
||||
|
|
|
@ -579,6 +579,7 @@ redo_turn:
|
|||
//and the player returns 100% of gold.
|
||||
if(end_level.result == CONTINUE) {
|
||||
state_of_game.gold = teams[0].gold();
|
||||
return VICTORY;
|
||||
}
|
||||
|
||||
if((*level)["disallow_recall"] == "yes") {
|
||||
|
|
Loading…
Add table
Reference in a new issue