Changeset 10318 for code/trunk
- Timestamp:
- Mar 15, 2015, 5:27:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/gametypes/SpaceRaceController.cc
r10262 r10318 338 338 SpaceRaceController::~SpaceRaceController() 339 339 { 340 for (int i =-1; i>virtualCheckPointIndex; i--) 341 { 342 delete findCheckpoint(i); 340 if (this->isInitialized()) 341 { 342 for (int i =-1; i>virtualCheckPointIndex; i--) 343 delete findCheckpoint(i); 343 344 } 344 345 }
Note: See TracChangeset
for help on using the changeset viewer.