diff --git a/source/duke3d/src/gamevars.cpp b/source/duke3d/src/gamevars.cpp index 539475809..9c2e466f9 100644 --- a/source/duke3d/src/gamevars.cpp +++ b/source/duke3d/src/gamevars.cpp @@ -1413,6 +1413,7 @@ void Gv_RefreshPointers(void) aGameVars[Gv_GetVarIndex("RESPAWN_MONSTERS")].global = (intptr_t)&ud.respawn_monsters; aGameVars[Gv_GetVarIndex("VOLUME")].global = (intptr_t)&ud.volume_number; + aGameVars[Gv_GetVarIndex("automapping")].global = (intptr_t)&automapping; aGameVars[Gv_GetVarIndex("cameraang")].global = (intptr_t)&ud.cameraq16ang; // XXX FIXME aGameVars[Gv_GetVarIndex("cameraclock")].global = (intptr_t)&g_cameraClock; aGameVars[Gv_GetVarIndex("cameradist")].global = (intptr_t)&g_cameraDistance;