Added support for [object] duration=turn end
This commit is contained in:
parent
10abcb9b17
commit
e8d58f4f1f
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,8 @@ Version 1.13.0+dev:
|
|||
* Era names no longer support formatting markup in the game setup screen.
|
||||
* Units:
|
||||
* Fixed the Shuja not having the default AMLA.
|
||||
* WML engine:
|
||||
* Added support for [object] duration=turn end
|
||||
* Miscellaneous and bug fixes:
|
||||
* Removed abandoned libana network API implementation.
|
||||
* Fixed bug#23201 Toggle icons display error in replay.
|
||||
|
|
|
@ -1178,6 +1178,9 @@ 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))) {
|
||||
resting_ = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue