-fixed getSystem function
This commit is contained in:
parent
41a7f22cb3
commit
783ef72eae
2 changed files with 6 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ class EntityManager
|
|||
|
||||
Sys* getSystem(Sys)()
|
||||
{
|
||||
return cast(Sys*) systems[Sys.system_id].system_pointer;
|
||||
return cast(Sys*) systems[Sys.system_id].m_system_pointer;
|
||||
}
|
||||
|
||||
void registerComponent(Comp)()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue