From b8248a77446c5f7bf040ce0d2c7d9336b2d4d782 Mon Sep 17 00:00:00 2001 From: nashmuhandes Date: Mon, 9 Sep 2024 03:13:46 +0800 Subject: [PATCH] Fix improper export of the DepthFadeFalloff variable --- src/playsim/actor.h | 2 +- wadsrc/static/zscript/actors/actor.zs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/playsim/actor.h b/src/playsim/actor.h index 09fe25e3a..840fb39af 100644 --- a/src/playsim/actor.h +++ b/src/playsim/actor.h @@ -1128,7 +1128,7 @@ public: DVector2 AutomapOffsets; // Offset the actors' sprite view on the automap by these coordinates. float isoscaleY; // Y-scale to compensate for Y-billboarding for isometric sprites float isotheta; // Rotation angle to compensate for Y-billboarding for isometric sprites - float DepthFadeFalloff; // [Nash] "soft particle" fade factor + double DepthFadeFalloff; // [Nash] "soft particle" fade factor DRotator Angles; DRotator ViewAngles; // Angle offsets for cameras TObjPtr ViewPos; // Position offsets for cameras diff --git a/wadsrc/static/zscript/actors/actor.zs b/wadsrc/static/zscript/actors/actor.zs index 0aa08e631..20f719bb5 100644 --- a/wadsrc/static/zscript/actors/actor.zs +++ b/wadsrc/static/zscript/actors/actor.zs @@ -262,6 +262,7 @@ class Actor : Thinker native native uint freezetics; native Vector2 AutomapOffsets; native double LandingSpeed; + native double DepthFadeFalloff; meta String Obituary; // Player was killed by this actor meta String HitObituary; // Player was killed by this actor in melee