Make wet overlays above render parallax plane for PLANE_SPACE

This commit is contained in:
mochi
2020-08-07 13:27:19 +02:00
parent f52a43a8f4
commit ec4eb38033
+2
View File
@@ -53,6 +53,8 @@
wet_overlay = image('icons/effects/water.dmi', src, "ice_floor")
else
wet_overlay = image('icons/effects/water.dmi', src, "wet_static")
if(plane == PLANE_SPACE)
wet_overlay.plane = PLANE_SPACE_PARALLAX + 0.1
overlays += wet_overlay
if(time == INFINITY)
return