mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 22:57:19 +00:00
Modified event 'turn refresh' so that it fires on turn 1,
...irrespective of healing/income/expense.
This commit is contained in:
parent
65ddf88673
commit
c02815efcb
@ -25,7 +25,8 @@ Version 1.7.8-beta1:
|
|||||||
* Protect against widgets being smaller as expected causing images with
|
* Protect against widgets being smaller as expected causing images with
|
||||||
negative sizes (bug #14525)
|
negative sizes (bug #14525)
|
||||||
* WML engine:
|
* WML engine:
|
||||||
* Added two array element lookup macros, LOOKUP_INDEX and LOOKUP_VALUE.
|
* Added two array element lookup macros, LOOKUP_INDEX and LOOKUP_VALUE
|
||||||
|
* Event "turn refresh" is now fired at turn 1 too
|
||||||
* Miscellaneous and bugfixes:
|
* Miscellaneous and bugfixes:
|
||||||
* Using a hotkey to reload during an attack no longer disables the mouse
|
* Using a hotkey to reload during an attack no longer disables the mouse
|
||||||
(http://www.wesnoth.org/forum/viewtopic.php?f=4&t=27616)
|
(http://www.wesnoth.org/forum/viewtopic.php?f=4&t=27616)
|
||||||
|
@ -527,6 +527,9 @@ void play_controller::do_init_side(const unsigned int team_index){
|
|||||||
|
|
||||||
calculate_healing(player_number_, !skip_replay_);
|
calculate_healing(player_number_, !skip_replay_);
|
||||||
reset_resting(units_, player_number_);
|
reset_resting(units_, player_number_);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!loading_game_) {
|
||||||
game_events::fire("turn refresh");
|
game_events::fire("turn refresh");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user