mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 17:56:27 +00:00
allow modifications to change unit ellipse,
...feature had been lost between 1.4 and 1.6
This commit is contained in:
parent
61469c53ef
commit
852f7404d5
@ -8,6 +8,7 @@ Version 1.7.9+svn:
|
||||
* Resizing the MP lobby no longer crashes randomly
|
||||
* WML Engine:
|
||||
* Fix bug #14859: [time_area] created by event are not saved
|
||||
* Allow modifications to change unit ellipse
|
||||
* Miscellaneous and bugfixes:
|
||||
* Fix bug #14865: move+attack into hex with ambusher causes crash
|
||||
* Shorter "Initializing Display" phase when staying in same campaign/MP
|
||||
|
@ -2440,6 +2440,8 @@ void unit::add_modification(const std::string& type, const config& mod, bool no_
|
||||
LOG_UT << "applying image_mod \n";
|
||||
} else if (apply_to == "new_animation") {
|
||||
unit_animation::add_anims(animations_, effect);
|
||||
} else if (apply_to == "ellipse") {
|
||||
cfg_["ellipse"] = effect["ellipse"];
|
||||
}
|
||||
} // end while
|
||||
} else { // for times = per level & level = 0 we still need to rebuild the descriptions
|
||||
|
Loading…
x
Reference in New Issue
Block a user