Changeset 6235 in orxonox.OLD for branches/powerups/src
- Timestamp:
- Dec 21, 2005, 3:20:57 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/powerups/src/world_entities/power_ups/power_up.cc
r6233 r6235 27 27 PowerUp::PowerUp(float r, float g, float b) 28 28 { 29 this->respawnType = RESPAWN_NONE; 29 30 if(!PowerUp::sphereModel) { 30 31 PowerUp::sphereModel = new PrimitiveModel(PRIM_SPHERE, 7, 5); … … 89 90 { 90 91 for(int i = 0; i < RESPAWN_size; ++i) { 91 if( strcmp(type, respawnTypes[i]) == 0) {92 if(!strcmp(type, respawnTypes[i])) { 92 93 this->respawnType = (PowerUpRespawn)i; 93 94 break;
Note: See TracChangeset
for help on using the changeset viewer.