Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6235 in orxonox.OLD for branches/powerups


Ignore:
Timestamp:
Dec 21, 2005, 3:20:57 PM (19 years ago)
Author:
manuel
Message:

some small fixes before trunk merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/powerups/src/world_entities/power_ups/power_up.cc

    r6233 r6235  
    2727PowerUp::PowerUp(float r, float g, float b)
    2828{
     29  this->respawnType = RESPAWN_NONE;
    2930  if(!PowerUp::sphereModel) {
    3031    PowerUp::sphereModel = new PrimitiveModel(PRIM_SPHERE, 7, 5);
     
    8990{
    9091  for(int i = 0; i < RESPAWN_size; ++i) {
    91     if(strcmp(type, respawnTypes[i]) == 0) {
     92    if(!strcmp(type, respawnTypes[i])) {
    9293      this->respawnType = (PowerUpRespawn)i;
    9394      break;
Note: See TracChangeset for help on using the changeset viewer.