Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5302 in orxonox.OLD for trunk/src/world_entities/weapons


Ignore:
Timestamp:
Oct 7, 2005, 2:28:45 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed bug in SkyShphere, doubly deleted Model

File:
1 edited

Legend:

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

    r5143 r5302  
    5555      delete this->animation[i];
    5656  for (int i = 0; i < WA_ACTION_COUNT; i++)
    57     if (this->soundBuffers[i])
     57    if (this->soundBuffers[i] != NULL && ClassList::exists(this->soundBuffers[i], CL_SOUND_BUFFER))
    5858      ResourceManager::getInstance()->unload(this->soundBuffers[i]);
    5959
Note: See TracChangeset for help on using the changeset viewer.