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)];