diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-14 03:31:40 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-14 03:31:40 -0400 |
commit | 534f6f57e930020eb1ad726f4de4e90cf487e584 (patch) | |
tree | 0dedd0deaa7556e6f9e8fd316017413f59de7996 /src/engine.cpp | |
parent | 4bf539d953871dbddddcc00275ffdcaddece5091 (diff) |
World can now draw
Diffstat (limited to 'src/engine.cpp')
-rw-r--r-- | src/engine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.cpp b/src/engine.cpp index 6e6a0e5..191493e 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -44,8 +44,8 @@ int Engine::init(void) systems.add<GameRunSystem>(); systems.add<InputSystem>(); systems.add<PlayerSystem>(entities); - systems.add<RenderSystem>(); systems.add<WorldSystem>(); + systems.add<RenderSystem>(*(systems.system<WorldSystem>().get())); systems.add<ScriptSystem>(entities, *(systems.system<WorldSystem>().get())); systems.add<PhysicsSystem>(); systems.configure(); |