-fixed mmcomando commit bug
This commit is contained in:
parent
be5de2ae9c
commit
e7d3d08feb
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ class EntityManager
|
||||||
dataSystem.handleEvent(input, *cast(Type*)data.event);
|
dataSystem.handleEvent(input, *cast(Type*)data.event);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setEventCallers(Sys)(System system){
|
static void setEventCallers(Sys)(ref System system){
|
||||||
enum allEventHandlers=__traits(getOverloads, Sys, "handleEvent").length;
|
enum allEventHandlers=__traits(getOverloads, Sys, "handleEvent").length;
|
||||||
system.m_event_callers = Mallocator.instance.makeArray!(System.EventCaller)(allEventHandlers);
|
system.m_event_callers = Mallocator.instance.makeArray!(System.EventCaller)(allEventHandlers);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue