r_main.c cosmetic changes ("Globals missaligned" -> "Globals misaligned"),

cleaned up a couple #if's
This commit is contained in:
Jeff Teunissen 2000-01-22 11:22:28 +00:00
parent 35169e2b94
commit 2930814d25

View file

@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "quakedef.h" #include "quakedef.h"
#include "r_local.h" #include "r_local.h"
//define PASSAGES //#define PASSAGES
void *colormap; void *colormap;
vec3_t viewlightvec; vec3_t viewlightvec;
@ -327,11 +327,9 @@ void R_NewMap (void)
r_dowarpold = false; r_dowarpold = false;
r_viewchanged = false; r_viewchanged = false;
#ifndef QUAKEWORLD #if !defined(QUAKEWORLD) && defined(PASSAGES)
#ifdef PASSAGES
CreatePassages (); CreatePassages ();
#endif #endif // !QUAKEWORLD && PASSAGES
#endif // !QUAKEWORLD
} }
@ -1136,13 +1134,13 @@ void R_RenderView (void)
Sys_Error ("R_RenderView: called without enough stack"); Sys_Error ("R_RenderView: called without enough stack");
if ( Hunk_LowMark() & 3 ) if ( Hunk_LowMark() & 3 )
Sys_Error ("Hunk is missaligned"); Sys_Error ("Hunk is misaligned");
if ( (long)(&dummy) & 3 ) if ( (long)(&dummy) & 3 )
Sys_Error ("Stack is missaligned"); Sys_Error ("Stack is misaligned");
if ( (long)(&r_warpbuffer) & 3 ) if ( (long)(&r_warpbuffer) & 3 )
Sys_Error ("Globals are missaligned"); Sys_Error ("Globals are misaligned");
R_RenderView_ (); R_RenderView_ ();
} }