Author: mordante
Date: Wed Aug 27 00:12:51 2008
New Revision: 29004

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29004&view=rev
Log:
Fix a compiler warning.

Modified:
    trunk/src/actions.cpp

Modified: trunk/src/actions.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/actions.cpp?rev=29004&r1=29003&r2=29004&view=diff
==============================================================================
--- trunk/src/actions.cpp (original)
+++ trunk/src/actions.cpp Wed Aug 27 00:12:51 2008
@@ -1707,9 +1707,9 @@
                        healers.push_back(units.find(heal_loc->loc));
                }
 
-               if (healers.size() > 0)
+               if (healers.size() > 0) {
                        DBG_NG << "Unit has " << healers.size() << " potential 
healers\n";
-
+               }
 
                if(i->second.side() == side) {
                        unit_ability_list regen = 
i->second.get_abilities("regenerate",i->first);
@@ -1780,8 +1780,9 @@
                        healing = neg_max;
                }
 
-               if (healers.size() > 0)
+               if (healers.size() > 0) {
                        DBG_NG << "Just before healing animations, unit has " 
<< healers.size() << " potential healers\n";
+               }
 
 
                if ( !recorder.is_skipping()


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

Reply via email to