This commit is contained in:
Paul 2001-02-22 17:01:34 +00:00
parent 153cafc7e2
commit 2c5fa6ec54
3 changed files with 11 additions and 8 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+4; // (pkg)
mapy=MapPos.vy/16;
for(y=-yoff;y<(20*16)-yoff;y+=16)
{
coll=&Map[mapx+(mapy*MapWidth)];