Ensure that inclusion of any entity/component stuff is properly bracketed with the preprocessor check.

This commit is contained in:
Areloch 2016-05-15 10:11:46 -05:00
parent 749ac4efc2
commit b04ad52b5d
7 changed files with 75 additions and 6 deletions

View file

@ -27,9 +27,10 @@
#include "platform/profiler.h"
#include "console/consoleTypes.h"
#ifdef TORQUE_EXPERIMENTAL_EC
#include "T3D/Components/coreInterfaces.h"
#include "T3D/Components/Component.h"
#endif
//----------------------------------------------------------------------------
ProcessObject::ProcessObject()
@ -271,10 +272,12 @@ void ProcessList::advanceObjects()
onTickObject(pobj);
}
#ifdef TORQUE_EXPERIMENTAL_EC
for (U32 i = 0; i < UpdateInterface::all.size(); i++)
{
UpdateInterface::all[i]->processTick();
}
#endif
mTotalTicks++;