This commit is contained in:
Paul 2001-02-22 15:24:38 +00:00
parent 376d81c387
commit f9254b4f52
2 changed files with 3 additions and 9 deletions

View File

@ -151,7 +151,7 @@ void CLayerCollision::render(DVECTOR &MapPos)
xoff=MapPos.vx&15;
yoff=MapPos.vy&15;
mapx=MapPos.vx/16;
mapy=MapPos.vy/16;
mapy=MapPos.vy/16+4; // (pkg)
for(y=-yoff;y<(20*16)-yoff;y+=16)
{
coll=&Map[mapx+(mapy*MapWidth)];

View File

@ -162,14 +162,8 @@ void CBasePickup::render()
renderPickup(&pos);
}
/*
DVECTOR ofs;
int x,y;
ofs=getRenderOffset();
x=Pos.vx-ofs.vx;
y=Pos.vy-ofs.vy;
DrawLine(x-15,y-15,x+15,y+15,255,255,255,0);
DrawLine(x+15,y-15,x-15,y+15,255,255,255,0);
DrawLine(pos.vx-15,pos.vy-15,pos.vx+15,pos.vy+15,255,255,255,0);
DrawLine(pos.vx+15,pos.vy-15,pos.vx-15,pos.vy+15,255,255,255,0);
*/
}