mail[Wesnoth-commits] r29004 - /trunk/src/actions.cpp


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

Header


Content

Posted by koraq on August 27, 2008 - 00:26:
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()




Related Messages


Powered by MHonArc, Updated Wed Aug 27 01:21:59 2008