Author: alink
Date: Sun Nov 22 02:14:44 2009
New Revision: 39862
URL: http://svn.gna.org/viewcvs/wesnoth?rev=39862&view=rev
Log:
Remove a redundant animation loading
(optimize "Initializing teams" phase and make unit lighter)
Modified:
trunk/src/unit.cpp
Modified: trunk/src/unit.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=39862&r1=39861&r2=39862&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Sun Nov 22 02:14:44 2009
@@ -1488,8 +1488,6 @@
set_state("guardian","yes");
}
- // Attach animations for this unit to the in-core object
- unit_animation::fill_initial_animations(animations_,cfg_);
// Remove animations from private cfg, they're not needed there now
foreach(const std::string& tag_name, unit_animation::all_tag_names()) {
cfg_.clear_children(tag_name);
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits