mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 06:41:59 +00:00
Lunatic: Fix build, part 4. BlimpSpawnSprites --> g_blimpSpawnItems
git-svn-id: https://svn.eduke32.com/eduke32@5987 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7167706837
commit
dcc542c6fc
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -180,7 +180,7 @@ screenpeek;
|
|||
hudweap;
|
||||
playerswhenstarted;
|
||||
g_spriteDeleteQueueSize;
|
||||
BlimpSpawnSprites;
|
||||
g_blimpSpawnItems;
|
||||
g_scriptVersion;
|
||||
g_currentFrameRate;
|
||||
g_currentMenu;
|
||||
|
|
Loading…
Reference in a new issue