Lunatic: Fix build, part 5. EpisodeNames --> g_volumeNames

git-svn-id: https://svn.eduke32.com/eduke32@5988 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-01-05 05:29:20 +00:00
parent dcc542c6fc
commit 22f73a9ab5
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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;

View file

@ -129,7 +129,7 @@ g_modDir;
g_elSessionVar;
MapInfo;
EpisodeNames;
g_volumeNames;
kopen4loadfrommod;