mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 23:54:18 +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
|
* Resizing the MP lobby no longer crashes randomly
|
||||||
* WML Engine:
|
* WML Engine:
|
||||||
* Fix bug #14859: [time_area] created by event are not saved
|
* Fix bug #14859: [time_area] created by event are not saved
|
||||||
|
* Allow modifications to change unit ellipse
|
||||||
* Miscellaneous and bugfixes:
|
* Miscellaneous and bugfixes:
|
||||||
* Fix bug #14865: move+attack into hex with ambusher causes crash
|
* Fix bug #14865: move+attack into hex with ambusher causes crash
|
||||||
* Shorter "Initializing Display" phase when staying in same campaign/MP
|
* 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";
|
LOG_UT << "applying image_mod \n";
|
||||||
} else if (apply_to == "new_animation") {
|
} else if (apply_to == "new_animation") {
|
||||||
unit_animation::add_anims(animations_, effect);
|
unit_animation::add_anims(animations_, effect);
|
||||||
|
} else if (apply_to == "ellipse") {
|
||||||
|
cfg_["ellipse"] = effect["ellipse"];
|
||||||
}
|
}
|
||||||
} // end while
|
} // end while
|
||||||
} else { // for times = per level & level = 0 we still need to rebuild the descriptions
|
} else { // for times = per level & level = 0 we still need to rebuild the descriptions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user