-fixed problems with new DMD
This commit is contained in:
parent
dec0582398
commit
b18440e9bc
1 changed files with 5 additions and 5 deletions
|
|
@ -1121,11 +1121,11 @@ class EntityManager
|
|||
current_delta += entites_in_block * components[id].size;
|
||||
}
|
||||
|
||||
foreach (uint i, ref system; systems)
|
||||
foreach (i, ref system; systems)
|
||||
{
|
||||
if (system.m_update is null)
|
||||
continue;
|
||||
addSystemCaller(*info, i);
|
||||
addSystemCaller(*info, cast(uint)i);
|
||||
}
|
||||
|
||||
entities_infos.add(info.components, info);
|
||||
|
|
@ -1930,13 +1930,13 @@ class EntityManager
|
|||
qsort(pass.system_callers.array.ptr, pass.system_callers.length,
|
||||
(SystemCaller*).sizeof, &compareSystems);
|
||||
|
||||
foreach (uint i, caller; pass.system_callers)
|
||||
caller.job_group.id = i;
|
||||
foreach (i, caller; pass.system_callers)
|
||||
caller.job_group.id = cast(uint)i;
|
||||
|
||||
int priority = int.min;
|
||||
uint beg = 0;
|
||||
index = 0;
|
||||
foreach (uint i, caller; pass.system_callers)
|
||||
foreach (i, caller; pass.system_callers)
|
||||
{
|
||||
index = 0;
|
||||
foreach (ex; caller.exclusion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue