mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 21:05:51 +00:00
remove 'not_moved' state when attacking,
...rather than setting the resting attribute
This commit is contained in:
parent
40c7d0c912
commit
c4915d9435
@ -654,7 +654,7 @@ void attack(display& gui, const gamemap& map,
|
||||
|
||||
a->second.set_attacks(a->second.attacks_left()-1);
|
||||
a->second.set_movement(a->second.movement_left()-a->second.attacks()[attack_with].movement_used());
|
||||
a->second.set_resting(false);
|
||||
a->second.set_state("not_moved","");
|
||||
d->second.set_resting(false);
|
||||
|
||||
//if the attacker was invisible, she isn't anymore!
|
||||
|
Loading…
x
Reference in New Issue
Block a user