Revision: 11198
          http://warzone2100.svn.sourceforge.net/warzone2100/?rev=11198&view=rev
Author:   buginator
Date:     2010-07-13 23:34:42 +0000 (Tue, 13 Jul 2010)

Log Message:
-----------
Prevent division by 0 when a object has 0 original hit points.
Add a check for that condition on load, and complain about it, and assign 1 hit 
point to the object.

Correct some typos, clean / fix up some comments / debug lines

fixes ticket:1711
Original patch by MegabytePhreak

NOTE: the feature.txt file wasn't fixed in the commit.
2.3: r11186

Modified Paths:
--------------
    branches/qt-trunk/src/combat.c
    branches/qt-trunk/src/droid.c
    branches/qt-trunk/src/feature.c
    branches/qt-trunk/src/projectile.c
    branches/qt-trunk/src/structure.c


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Warzone2100-commits mailing list
Warzone2100-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to