Rockets deleted properly

This commit is contained in:
ViktorLjung
2014-05-21 18:30:16 +02:00
parent 6d3aa5d394
commit 6137adf604
10 changed files with 132 additions and 51 deletions
+2 -1
View File
@@ -9,10 +9,11 @@ namespace Components
struct Physics : Component
{
Physics()
: Mass(0.f), Static(false){}
: Mass(1.f), Static(false), Phantom(false){}
float Mass;
bool Static;
bool Phantom;
virtual Physics* Clone() const override { return new Physics(*this); }
};