remove duration='turn_end' ('turn end' still works)
'turn end' did exactly the same. So we we basicalls did this work twice. 'expire_modifications' is not a cheap taks because it needs to check every modification in every unit.
This commit is contained in:
parent
d02f76e3c0
commit
ad424f8c03
1 changed files with 0 additions and 1 deletions
|
@ -1179,7 +1179,6 @@ void unit::new_turn()
|
|||
void unit::end_turn()
|
||||
{
|
||||
expire_modifications("turn end");
|
||||
expire_modifications("turn_end");
|
||||
|
||||
set_state(STATE_SLOWED,false);
|
||||
if((movement_ != total_movement()) && !(get_state(STATE_NOT_MOVED))) {
|
||||
|
|
Loading…
Add table
Reference in a new issue