mail[Wesnoth-commits] r40238 - /trunk/src/dialogs.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by jeremy . rosen on December 14, 2009 - 21:52:
Author: boucman
Date: Mon Dec 14 21:52:47 2009
New Revision: 40238

URL: http://svn.gna.org/viewcvs/wesnoth?rev=40238&view=rev
Log:
remove message on leveling up

Modified:
    trunk/src/dialogs.cpp

Modified: trunk/src/dialogs.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/dialogs.cpp?rev=40238&r1=40237&r2=40238&view=diff
==============================================================================
--- trunk/src/dialogs.cpp (original)
+++ trunk/src/dialogs.cpp Mon Dec 14 21:52:47 2009
@@ -212,11 +212,7 @@
 
        if (u != resources::units->end() && 
!resources::screen->video().update_locked()) {
                unit_animator animator;
-               bool with_bars = true;
-               std::stringstream text;
-               text << _("Level") << " " << u->second.level();
-               Uint32 color = display::rgb(255,255,255);
-               animator.add_animation(&u->second,"levelin",u->first, 
map_location(), 0, with_bars, false, text.str(), color);
+               animator.add_animation(&u->second,"levelin",u->first, 
map_location(), 0, true);
                animator.start_animations();
                animator.wait_for_end();
                animator.set_all_standing();




Related Messages


Powered by MHonArc, Updated Mon Dec 14 22:00:10 2009