diff --git a/src/scripting/vmthunks.cpp b/src/scripting/vmthunks.cpp index ba4336928..cf676342a 100644 --- a/src/scripting/vmthunks.cpp +++ b/src/scripting/vmthunks.cpp @@ -2940,6 +2940,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_NAMED(FLevelLocals, li_compatflags, compatflags) DEFINE_FIELD_NAMED(FLevelLocals, li_compatflags2, compatflags2) diff --git a/wadsrc/static/zscript/base.zs b/wadsrc/static/zscript/base.zs index 7db99c92d..30a06f52a 100644 --- a/wadsrc/static/zscript/base.zs +++ b/wadsrc/static/zscript/base.zs @@ -701,6 +701,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;