Add new plague unit to encountered units also when defender kills attacker.
(was only done for the attacker kill defender case)
This commit is contained in:
parent
2868f668dc
commit
0488e6f58b
1 changed files with 1 additions and 0 deletions
|
@ -1357,6 +1357,7 @@ attack::attack(game_display& gui, const gamemap& map,
|
|||
newunit.add_modification("variation",mod);
|
||||
}
|
||||
units_.add(new std::pair<gamemap::location,unit>(death_loc,newunit));
|
||||
preferences::encountered_units().insert(newunit.type_id());
|
||||
if (update_display_){
|
||||
gui_.invalidate(death_loc);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue