mirror of
https://github.com/stevenhowes/CTheEscape.git
synced 2026-05-26 15:53:29 +01:00
Put 'solid' indicator on top of any overlays
This commit is contained in:
Binary file not shown.
+5
-4
@@ -608,10 +608,6 @@ int game2_tick()
|
|||||||
{
|
{
|
||||||
map[screen+1][x][y] = map[0][x][y];
|
map[screen+1][x][y] = map[0][x][y];
|
||||||
draw_tile(map[screen+1][x][y] & 127,x*100,y*100);
|
draw_tile(map[screen+1][x][y] & 127,x*100,y*100);
|
||||||
if(((map[screen+1][x][y] >> 7) & 0x01))
|
|
||||||
{
|
|
||||||
draw_sprite("solid",x*100,y*100);
|
|
||||||
}
|
|
||||||
|
|
||||||
map_overlay[screen+1][x][y] = map_overlay[0][x][y];
|
map_overlay[screen+1][x][y] = map_overlay[0][x][y];
|
||||||
if(map_overlay[screen+1][x][y] > 0)
|
if(map_overlay[screen+1][x][y] > 0)
|
||||||
@@ -619,6 +615,11 @@ int game2_tick()
|
|||||||
draw_tile_trans(map_overlay[screen+1][x][y],x*100,y*100);
|
draw_tile_trans(map_overlay[screen+1][x][y],x*100,y*100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(((map[screen+1][x][y] >> 7) & 0x01))
|
||||||
|
{
|
||||||
|
draw_sprite("solid",x*100,y*100);
|
||||||
|
}
|
||||||
|
|
||||||
udt++;
|
udt++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user