Try to fix new created corpses attacking in the same turn
This commit is contained in:
parent
ef6c0ddc70
commit
1e007c6605
1 changed files with 2 additions and 0 deletions
|
@ -833,6 +833,8 @@ void attack(display& gui, const gamemap& map,
|
|||
|
||||
if(reanimitor != info.unit_types.end()) {
|
||||
unit newunit=unit(&reanimitor->second,a->second.side(),true,true);
|
||||
newunit.set_attacked();
|
||||
|
||||
//apply variation
|
||||
if(strcmp(undead_variation.c_str(),"null")){
|
||||
config mod;
|
||||
|
|
Loading…
Add table
Reference in a new issue