Fixes bug #8748 (Ethiliel not showing up in TSG->Vengeance)

and lets cross fingers i didn't break anything else.
This commit is contained in:
Jörg Hinrichs 2007-04-05 20:03:09 +00:00
parent 0abcf049b9
commit d83d457950
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ Version 1.3.1+svn:
a high or negative amount of hitpoints (bug #6154, bug #7955, bug #8541)
-1 hitpoints will still cause a crash.
* fix skirmisher filtered by terrain not working properly.
* fixed Ethiliel not showing up in the scenario "Vengeance" of TSG
Version 1.3.1:
* Campaignd

View File

@ -143,7 +143,7 @@ void get_player_info(const config& cfg, game_state& gamestate, std::string save_
//if there are additional starting units on this side
const config::child_list& starting_units = cfg.get_children("unit");
if ( (starting_units.begin() != starting_units.end()) && (player) ){
if ( (starting_units.begin() != starting_units.end()) && player && (gamestate.version < "1.2.2") ){
player->available_units.clear();
}
for(config::child_list::const_iterator su = starting_units.begin(); su != starting_units.end(); ++su) {