-fixed DMD release compilation

This commit is contained in:
Mergul 2021-04-26 17:04:39 +02:00
parent 24ef63d505
commit bbb8144f34

View file

@ -1030,6 +1030,7 @@ export struct EntityManager
foreach (caller; passes[pass].system_callers)
{
System* sys = &systems[caller.system_id];
assert(sys !is null);
if (sys.enabled && sys.willExecute)
{
if (sys.m_empty)
@ -3235,6 +3236,8 @@ export struct EntityManager
{
if(!system.m_empty)
{
assert(info !is null);
EntitiesBlock* block;
if (first_block)
block = first_block;