Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8316 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc


Ignore:
Timestamp:
Jun 11, 2006, 1:57:27 PM (18 years ago)
Author:
bensch
Message:

trunk: fixed most -Wall warnings… but there are still many missing :/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r7779 r8316  
    8686    }
    8787  }
     88  return NULL;
    8889}
    8990
     
    421422      return this->activateW();
    422423      break;
     424    default:
     425      PRINTF(2)("Action %s Not Implemented yet \n", Weapon::actionToChar(action));
     426      return false;
    423427  }
    424428}
     
    442446    this->enterState(WS_ACTIVATING);
    443447  }
     448  return true;
    444449}
    445450
     
    460465    this->enterState(WS_DEACTIVATING);
    461466  }
     467
     468  return true;
    462469}
    463470
     
    483490    this->requestAction(WA_RELOAD);
    484491  }
     492  return true;
    485493}
    486494
     
    509517    this->execute();
    510518  }
     519  return true;
    511520}
    512521
     
    539548  this->reload();
    540549  this->enterState(WS_RELOADING);
     550
     551  return true;
    541552}
    542553
Note: See TracChangeset for help on using the changeset viewer.