Merge branch 'GameLogic' of https://github.com/dean11/Danbias into GameClient

This commit is contained in:
dean11 2014-02-20 12:45:13 +01:00
commit ef35172bb9
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Object::Object(Oyster::Physics::ICustomBody *rigidBody, void (*collisionFuncAfte
this->objectID = objectID; this->objectID = objectID;
this->extraDamageOnCollision = 0; this->extraDamageOnCollision = 0;
this->rigidBody->SetCustomTag(this); this->rigidBody->SetCustomTag(this);
this->scale = Float3(1.0f, 1.0f, 1.0f);
} }
@ -41,6 +42,7 @@ Object::Object(Oyster::Physics::ICustomBody *rigidBody , Oyster::Physics::ICusto
this->objectID = objectID; this->objectID = objectID;
this->extraDamageOnCollision = 0; this->extraDamageOnCollision = 0;
this->rigidBody->SetCustomTag(this); this->rigidBody->SetCustomTag(this);
this->scale = Float3(1.0f, 1.0f, 1.0f);
} }
Object::~Object(void) Object::~Object(void)