URL:
  <http://gna.org/patch/?894>

                 Summary: Makes numKills A float
                 Project: Warzone Resurrection Project
            Submitted by: evilguru
            Submitted on: Saturday 12/22/2007 at 14:41
                Category: Fix
                Priority: 4
                  Status: Works For Me
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In order to fix a few problems with the new experience system (which only
showed themselves when the quality factor code was committed)
psDroid->numKills is now a floating point variable.

The patch makes a point of not touching any of the save-game code --- the
float is silently converted to a integer on save and back again to a float on
load. While this does mean that the droids numKills is rounded on save a
maximum of 0.9999... kills is lost (assuming that float => int rounds down).



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 12/22/2007 at 14:41  Name: floatPartialKills.patch  Size: 16kB
  By: evilguru

<http://gna.org/patch/download.php?file_id=3413>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?894>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to