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

                 Summary: assert failure in move.c  r1356
                 Project: Warzone Resurrection Project
            Submitted by: None
            Submitted on: Sunday 05/27/2007 at 16:18 CEST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: [EMAIL PROTECTED]
             Open/Closed: Open
         Discussion Lock: Any
                 Release: svn
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This assert failed in a skirmish. * players, t3, sandcastles.

/* Calculate the change in direction given a target angle and turn rate */
static void moveCalcTurn(float *pCurr, float target, UDWORD rate)
{
        float   diff, change;
#ifdef DEBUG                                                    //Ugh.  If your 
gonna ONLY use this variable in "DEBUG",
then
        SDWORD  path=0;                         //make sure you wrap the 
function that uses it also!
#define SET_PATH(x) path=x
#else
#define SET_PATH(x)
#endif

        ASSERT( target < MAKEFRACT(360) && target >= MAKEFRACT(0),
                         "moveCalcTurn: target out of range %f", target );


-               pCurr   0x0012f348      float *
                        180.00000       float
                target  -2.1474836e+009 float
                rate    250     unsigned int
                diff    -1.0737418e+008 float
                path    0       int
                change  -1.0737418e+008 float





    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to