Author: mordante
Date: Mon Jul  7 20:20:32 2008
New Revision: 27825

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27825&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/attack_prediction.cpp

Modified: trunk/src/attack_prediction.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/attack_prediction.cpp?rev=27825&r1=27824&r2=27825&view=diff
==============================================================================
--- trunk/src/attack_prediction.cpp (original)
+++ trunk/src/attack_prediction.cpp Mon Jul  7 20:20:32 2008
@@ -502,6 +502,9 @@
 
 combatant::combatant(const battle_context::unit_stats &u, const combatant 
*prev)
        : hp_dist(hp_dist_size(u, prev)),
+         untouched(0.0),
+         poisoned(0.0),
+         slowed(0.0),
          u_(u),
          hit_chances_(u.num_blows, u.chance_to_hit / 100.0)
 {


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

Reply via email to