- Timestamp:
- Apr 22, 2014, 5:32:37 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickupsFS14/src/modules/jump/JumpPlatform.cc
r10040 r10041 36 36 #include "core/CoreIncludes.h" 37 37 #include "core/GameMode.h" 38 38 #include "graphics/Model.h" 39 39 #include "gametypes/Gametype.h" 40 40 … … 86 86 this->setVelocity(Vector3(0,0,0)); 87 87 this->setAcceleration(Vector3(0,0,0)); 88 89 model = NULL; 88 90 } 89 91 … … 94 96 JumpPlatform::~JumpPlatform() 95 97 { 96 if (this->isInitialized())98 /*if (this->isInitialized()) 97 99 { 98 100 if (this->bDeleteBats_) … … 100 102 101 103 delete[] this->batID_; 102 } 104 }*/ 103 105 } 104 106 … … 137 139 138 140 Vector3 platformPosition = this->getPosition(); 139 Vector3 platformVelocity = this->getVelocity();140 141 141 142 if (figure_ != NULL) … … 149 150 } 150 151 } 152 153 151 154 152 155
Note: See TracChangeset
for help on using the changeset viewer.