Changeset 8516 in orxonox.OLD for branches/bsp_model/src/world_entities/npcs/generic_npc.cc
- Timestamp:
- Jun 16, 2006, 2:53:00 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/world_entities/npcs/generic_npc.cc
r8515 r8516 23 23 #include "interactive_model.h" 24 24 #include "md2/md2Model.h" 25 26 #include "sound_buffer.h" 27 28 #include "loading/resource_manager.h" 25 29 26 30 #include "generic_npc.h" … … 61 65 this->setClassID(CL_GENERIC_NPC, "GenericNPC"); 62 66 this->toList(OM_GROUP_00); 67 68 if (this->soundBuffer != NULL) 69 ResourceManager::getInstance()->unload(this->soundBuffer); 70 this->soundBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load("sound/rain.wav", WAV); 63 71 } 64 72
Note: See TracChangeset
for help on using the changeset viewer.