q_shared.c - possible typo error?
    Nick Warne 
    nick at linicks.net
       
    Mon Sep 12 15:08:35 EDT 2005
    
    
  
I noticed this today - some declares stuck between two functions.
In q_shared.c:
=====================================
float   anglemod(float a)
{
#if 0
        if (a >= 0)
                a -= 360*(int)(a/360);
        else
                a += 360*( 1 + (int)(-a/360) );
#endif
        a = (360.0/65536) * ((int)(a*(65536/360.0)) & 65535);
        return a;
}
        int             i;		<-------------------- What are these
        vec3_t  corners[2];	<--------------------  here for ???
// this is the slow, general version
int BoxOnPlaneSide2 (vec3_t emins, vec3_t emaxs, struct cplane_s *p)
{
        int             i;
...
...
=====================================
Remove?
Nick
-- 
"When you're chewing on life's gristle,
Don't grumble, Give a whistle..."
    
    
More information about the quake2
mailing list