diff --git a/src/scripting/vmthunks.cpp b/src/scripting/vmthunks.cpp index ea4d9530b..3a8a9f71b 100644 --- a/src/scripting/vmthunks.cpp +++ b/src/scripting/vmthunks.cpp @@ -3188,6 +3188,7 @@ DEFINE_FIELD(FLevelLocals, fogdensity) DEFINE_FIELD(FLevelLocals, outsidefogdensity) DEFINE_FIELD(FLevelLocals, skyfog) DEFINE_FIELD(FLevelLocals, pixelstretch) +DEFINE_FIELD(FLevelLocals, MusicVolume) DEFINE_FIELD(FLevelLocals, deathsequence) DEFINE_FIELD_BIT(FLevelLocals, frozenstate, frozen, 1) // still needed for backwards compatibility. DEFINE_FIELD_NAMED(FLevelLocals, i_compatflags, compatflags) diff --git a/wadsrc/static/zscript/base.zs b/wadsrc/static/zscript/base.zs index cfe5ad9dd..beb170470 100644 --- a/wadsrc/static/zscript/base.zs +++ b/wadsrc/static/zscript/base.zs @@ -725,6 +725,7 @@ struct LevelLocals native native readonly int outsidefogdensity; native readonly int skyfog; native readonly float pixelstretch; + native readonly float MusicVolume; native name deathsequence; native readonly int compatflags; native readonly int compatflags2;