This commit is contained in:
parent
376d81c387
commit
f9254b4f52
2 changed files with 3 additions and 9 deletions
|
@ -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)];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue