Changeset 6443 in orxonox.OLD for trunk/src/world_entities/playable.cc
- Timestamp:
- Jan 8, 2006, 5:44:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/playable.cc
r6442 r6443 44 44 45 45 } 46 } 47 48 49 void Playable::addWeapon(Weapon* weapon, int configID, int slotID) 50 { 51 this->weaponMan->addWeapon(weapon, configID, slotID); 52 53 if (this->currentPlayer != NULL) 54 this->currentPlayer->weaponConfigChanged(); 55 } 56 57 void Playable::removeWeapon(Weapon* weapon) 58 { 59 this->weaponMan->removeWeapon(weapon); 60 61 if (this->currentPlayer != NULL) 62 this->currentPlayer->weaponConfigChanged(); 46 63 } 47 64
Note: See TracChangeset
for help on using the changeset viewer.