Author: boucman
Date: Fri Jun 27 19:57:32 2008
New Revision: 27534
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27534&view=rev
Log:
add team colors to sub-animations, this will be done automatically in the same
way as unit images
Modified:
trunk/src/unit_frame.cpp
Modified: trunk/src/unit_frame.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_frame.cpp?rev=27534&r1=27533&r2=27534&view=diff
==============================================================================
--- trunk/src/unit_frame.cpp (original)
+++ trunk/src/unit_frame.cpp Fri Jun 27 19:57:32 2008
@@ -498,7 +498,7 @@
/** engine provides a string for "stoned" and "team color"
modifications */
result.image_mod = current_val.image_mod +animation_val.image_mod;
- if(primary)result.image_mod += engine_val.image_mod;
+ result.image_mod += engine_val.image_mod;
assert(engine_val.halo.empty());
result.halo =
current_val.halo.empty()?animation_val.halo:current_val.halo;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits