Author: alink
Date: Mon May 18 00:40:17 2009
New Revision: 35722

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35722&view=rev
Log:
use STL function when possible

Modified:
    trunk/src/unit_animation.cpp

Modified: trunk/src/unit_animation.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_animation.cpp?rev=35722&r1=35721&r2=35722&view=diff
==============================================================================
--- trunk/src/unit_animation.cpp (original)
+++ trunk/src/unit_animation.cpp Mon May 18 00:40:17 2009
@@ -844,7 +844,7 @@
 {
 
        invalidated_=false;
-       overlaped_hex_ = std::set<map_location>();
+       overlaped_hex_.clear();
        std::map<std::string,particule>::iterator anim_itor =sub_anims_.begin();
        unit_anim_.redraw(value,src_,dst_,true);
        for( /*null*/; anim_itor != sub_anims_.end() ; anim_itor++) {


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to