Changed some files so it works with the changes in master. (weaponsystem,capturepoint,some tests)

This commit is contained in:
verysecrethero
2016-01-21 17:36:47 +01:00
parent 4d60f387ed
commit deb6ff1b16
5 changed files with 10 additions and 11 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ CapturePointTest::CapturePointTest(int runTestNumber)
m_World = new World();
// Create system pipeline
m_SystemPipeline = new SystemPipeline(m_EventBroker);
m_SystemPipeline = new SystemPipeline(m_World,m_EventBroker);
m_SystemPipeline->AddSystem<HealthSystem>(0);
m_SystemPipeline->AddSystem<CapturePointSystem>(1);
@@ -405,7 +405,7 @@ void CapturePointTest::Tick()
double dt = 10.0;
// Iterate through systems and update world!
m_SystemPipeline->Update(m_World, dt);
m_SystemPipeline->Update(dt);
m_EventBroker->Swap();
m_EventBroker->Clear();