URL:
  <http://gna.org/bugs/?9226>

                 Summary: unit direction out of range: 360.000000
                 Project: Warzone Resurrection Project
            Submitted by: shevek
            Submitted on: Monday 05/28/2007 at 15:42
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn
        Operating System: GNU/Linux

    _______________________________________________________

Details:

error   : unit direction out of range: 360.000000
error   : Assert in Warzone: action.c:1173 : actionUpdateDroid
(psDroid->direction < 360), last script event: 'everySec'
warzone2100: action.c:1173: actionUpdateDroid: Assertion `psDroid->direction
< 360' failed.

subversion rev 1370

Why not just make this variable use arithmetic mod 360 in assignment or
something? This seems to be one of that class of bugs which you can either
chase down all over the place, or just code a system such that one doesn't
have to worry about it.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9226>

_______________________________________________
  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