Some code cleanup, tweak and optimizations for assets, entities and components.

This commit is contained in:
Areloch 2018-02-04 16:21:07 -06:00
parent cfbdf63cd7
commit abe4370c8a
15 changed files with 58 additions and 40 deletions

View file

@ -142,10 +142,12 @@ CollisionComponent::CollisionComponent() : Component()
StaticShapeObjectType | VehicleObjectType |
VehicleBlockerObjectType | DynamicShapeObjectType | StaticObjectType | EntityObjectType | TriggerObjectType);
mPhysicsRep = NULL;
mPhysicsWorld = NULL;
mPhysicsRep = nullptr;
mPhysicsWorld = nullptr;
mTimeoutList = NULL;
mTimeoutList = nullptr;
mAnimated = false;
}
CollisionComponent::~CollisionComponent()