Made plague-created units have same facing as the dead unit, not random
Technically, they now face the opposite direction than the killer, but in practise it's the same thing since in combat units are always facing each other.
This commit is contained in:
parent
3cffd699d9
commit
d4775ccba2
1 changed files with 1 additions and 0 deletions
|
@ -1155,6 +1155,7 @@ namespace {
|
|||
unit_ptr newunit(new unit(*reanimator, attacker.get_unit().side(), true, unit_race::MALE));
|
||||
newunit->set_attacks(0);
|
||||
newunit->set_movement(0, true);
|
||||
newunit->set_facing(map_location::get_opposite_dir(attacker.get_unit().facing()));
|
||||
// Apply variation
|
||||
if (undead_variation != "null")
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue