diff --git a/polymer/eduke32/source/lunatic/control.lua b/polymer/eduke32/source/lunatic/control.lua index 10acb0f81..d4d156a66 100644 --- a/polymer/eduke32/source/lunatic/control.lua +++ b/polymer/eduke32/source/lunatic/control.lua @@ -930,7 +930,7 @@ function _qgetsysstr(qdst, what, pli) elseif (what == ffiC.STR_VOLUMENAME) then local vol = ffiC.ud.volume_number bcheck.volume_idx(vol) - ffi.copy(dst, ffiC.EpisodeNames[vol], ffi.sizeof(ffiC.EpisodeNames[0])) + ffi.copy(dst, ffiC.g_volumeNames[vol], ffi.sizeof(ffiC.g_volumeNames[0])) elseif (what == ffiC.STR_YOURTIME) then ffi.copy(dst, ffi.string(ffiC.G_PrintYourTime())) elseif (what == ffiC.STR_PARTIME) then diff --git a/polymer/eduke32/source/lunatic/defs.ilua b/polymer/eduke32/source/lunatic/defs.ilua index 67ffe9666..0156af4a7 100644 --- a/polymer/eduke32/source/lunatic/defs.ilua +++ b/polymer/eduke32/source/lunatic/defs.ilua @@ -615,7 +615,7 @@ int32_t g_logoFlags; -- INTERNAL VARIABLES/FUNCTIONS decl("map_t MapInfo[$*$];", con_lang.MAXVOLUMES+1, con_lang.MAXLEVELS) -decl("char EpisodeNames[$][33];", con_lang.MAXVOLUMES) +decl("char g_volumeNames[$][33];", con_lang.MAXVOLUMES) decl[[ const int32_t myconnectindex; diff --git a/polymer/eduke32/source/lunatic/dynsymlist b/polymer/eduke32/source/lunatic/dynsymlist index 932980c4a..4a7c1e5ab 100644 --- a/polymer/eduke32/source/lunatic/dynsymlist +++ b/polymer/eduke32/source/lunatic/dynsymlist @@ -129,7 +129,7 @@ g_modDir; g_elSessionVar; MapInfo; -EpisodeNames; +g_volumeNames; kopen4loadfrommod;