diff --git a/polymer/eduke32/source/lunatic/control.lua b/polymer/eduke32/source/lunatic/control.lua index ca08bc3d2..5fb37133c 100644 --- a/polymer/eduke32/source/lunatic/control.lua +++ b/polymer/eduke32/source/lunatic/control.lua @@ -334,7 +334,7 @@ function spawn(tilenum, parentspritenum, addtodelqueue) check_tile_idx(tilenum) check_sprite_idx(parentspritenum) - if (addtodelqueue and ffiC.g_spriteDeleteQueueSize == 0) then + if (addtodelqueue and ffiC.g_deleteQueueSize == 0) then return -1 end diff --git a/polymer/eduke32/source/lunatic/defs.ilua b/polymer/eduke32/source/lunatic/defs.ilua index 680246a72..0086ebd11 100644 --- a/polymer/eduke32/source/lunatic/defs.ilua +++ b/polymer/eduke32/source/lunatic/defs.ilua @@ -665,7 +665,7 @@ struct char *apStrings[]; const int32_t playerswhenstarted; -int16_t g_spriteDeleteQueueSize; +int16_t g_deleteQueueSize; int16_t g_blimpSpawnItems[15]; int32_t g_scriptVersion; const int32_t g_frameRate; diff --git a/polymer/eduke32/source/lunatic/dynsymlist b/polymer/eduke32/source/lunatic/dynsymlist index d10b3b2f1..b21020654 100644 --- a/polymer/eduke32/source/lunatic/dynsymlist +++ b/polymer/eduke32/source/lunatic/dynsymlist @@ -179,7 +179,7 @@ apStrings; screenpeek; hudweap; playerswhenstarted; -g_spriteDeleteQueueSize; +g_deleteQueueSize; g_blimpSpawnItems; g_scriptVersion; g_frameRate;