This commit is contained in:
Daveo 2001-01-15 15:22:33 +00:00
parent df0a744556
commit 80b14c0704
10 changed files with 71 additions and 64 deletions

View file

@ -203,7 +203,7 @@ void CLayerTile::render()
{
sPrimGridElem *Grid=GetGridPos(MapX,MapY);
s16 TileX,TileY;
sOT *ThisOT=OtPtr+LayerOT;
// Setup shift bits of pos
TileY=-ShiftY;
@ -220,7 +220,7 @@ s16 TileX,TileY;
{
/**/ Prim->x0=TileX;
/**/ Prim->y0=TileY;
addPrimNoCheck(OtPtr,Prim);
addPrimNoCheck(ThisOT,Prim);
}
Grid=Grid->Right;
TileX+=TILE_WIDTH;