This commit is contained in:
Daveo 2001-05-05 16:28:40 +00:00
parent 27954a3685
commit e9dc83e29c

View file

@ -499,10 +499,16 @@ void CThing::think(int _frames)
Params: Params:
Returns: Returns:
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
#if defined (__USER_paul__) || defined (__USER_charles__) #if !defined(__USER_CDBUILD__)
int showthings=true;
#include "gfx\prim.h" #include "gfx\prim.h"
#include "level\level.h" #include "level\level.h"
#if defined (__USER_paul__) || defined (__USER_charles__)
int showthings=true;
#else
int showthings=false;
#endif
void CThing::render() void CThing::render()
{ {
if(showthings) if(showthings)
@ -517,8 +523,7 @@ void CThing::render()
area.x2-=ofs.vx; area.x2-=ofs.vx;
area.y2-=ofs.vy; area.y2-=ofs.vy;
if(area.x1<=511&&area.x2>=0&& if(area.x1<=511&&area.x2>=0 && area.y1<=255&&area.y2>=0)
area.y1<=255&&area.y2>=0)
{ {
DrawLine(area.x1,area.y1,area.x2,area.y1,255,255,255,0); DrawLine(area.x1,area.y1,area.x2,area.y1,255,255,255,0);
DrawLine(area.x2,area.y1,area.x2,area.y2,255,255,255,0); DrawLine(area.x2,area.y1,area.x2,area.y2,255,255,255,0);