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:
gfgtdf 2015-12-20 22:06:10 +01:00
parent d02f76e3c0
commit ad424f8c03

View file

@ -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))) {