diff --git a/polymer/eduke32/source/lunatic/control.lua b/polymer/eduke32/source/lunatic/control.lua index 3543edb3d..10acb0f81 100644 --- a/polymer/eduke32/source/lunatic/control.lua +++ b/polymer/eduke32/source/lunatic/control.lua @@ -1121,8 +1121,8 @@ function _debris(i, dtile, n) local jj = insertsprite{ dtile+picofs, pos, spr.sectnum, 5, i, shade=spr.shade, xrepeat=32+krandand(15), yrepeat=32+krandand(15), ang=krandand(2047), xvel=32+krandand(127), zvel=-krandand(2047) } - -- NOTE: BlimpSpawnSprites[14] (its array size is 15) will never be chosen - sprite[jj]:set_yvel(isblimpscrap and ffiC.BlimpSpawnSprites[math.mod(jj, 14)] or -1) + -- NOTE: g_blimpSpawnItems[14] (its array size is 15) will never be chosen + sprite[jj]:set_yvel(isblimpscrap and ffiC.g_blimpSpawnItems[math.mod(jj, 14)] or -1) sprite[jj].pal = spr.pal end end diff --git a/polymer/eduke32/source/lunatic/defs.ilua b/polymer/eduke32/source/lunatic/defs.ilua index 8e3e61dcf..67ffe9666 100644 --- a/polymer/eduke32/source/lunatic/defs.ilua +++ b/polymer/eduke32/source/lunatic/defs.ilua @@ -666,7 +666,7 @@ char *ScriptQuotes[]; const int32_t playerswhenstarted; int16_t g_spriteDeleteQueueSize; -int16_t BlimpSpawnSprites[15]; +int16_t g_blimpSpawnItems[15]; int32_t g_scriptVersion; const int32_t g_currentFrameRate; const int32_t g_currentMenu; diff --git a/polymer/eduke32/source/lunatic/dynsymlist b/polymer/eduke32/source/lunatic/dynsymlist index 2f5d5fe56..932980c4a 100644 --- a/polymer/eduke32/source/lunatic/dynsymlist +++ b/polymer/eduke32/source/lunatic/dynsymlist @@ -180,7 +180,7 @@ screenpeek; hudweap; playerswhenstarted; g_spriteDeleteQueueSize; -BlimpSpawnSprites; +g_blimpSpawnItems; g_scriptVersion; g_currentFrameRate; g_currentMenu;