Changeset 7460 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc
- Timestamp:
- May 1, 2006, 12:30:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r7350 r7460 107 107 this->soundBuffers[i] = NULL; //< No Sounds 108 108 109 this->soundSource = new SoundSource(this); //< Every Weapon has exacty one SoundSource.109 this->soundSource = new OrxSound::SoundSource(this); //< Every Weapon has exacty one SoundSource. 110 110 this->emissionPoint.setParent(this); //< One EmissionPoint, that is a PNode connected to the weapon. You can set this to the exitting point of the Projectiles 111 111 this->emissionPoint.setName("EmissionPoint"); … … 263 263 else if (!soundFile.empty()) 264 264 { 265 this->soundBuffers[action] = ( SoundBuffer*)ResourceManager::getInstance()->load(soundFile, WAV);265 this->soundBuffers[action] = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load(soundFile, WAV); 266 266 if (this->soundBuffers[action] != NULL) 267 267 {
Note: See TracChangeset
for help on using the changeset viewer.