Add FLOOR_OVERLAY_PLANE (and use that for wetness)

This commit is contained in:
mochi
2020-08-11 17:22:27 +02:00
parent 902f29ddd7
commit 67df1bf5ff
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@
#define PLANE_SPACE_PARALLAX -90
#define FLOOR_PLANE -2
#define FLOOR_OVERLAY_PLANE -1.5
#define GAME_PLANE -1
#define BLACKNESS_PLANE 0 //To keep from conflicts with SEE_BLACKNESS internals
+1 -1
View File
@@ -53,7 +53,7 @@
wet_overlay = image('icons/effects/water.dmi', src, "ice_floor")
else
wet_overlay = image('icons/effects/water.dmi', src, "wet_static")
wet_overlay.plane = MID_TURF_LAYER
wet_overlay.plane = FLOOR_OVERLAY_PLANE
overlays += wet_overlay
if(time == INFINITY)
return