MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / destroyMeshLocal

Method destroyMeshLocal

source/entities/GameEntity.cpp:442–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442void GameEntity::destroyMeshLocal()
443{
444 if(!getIsOnServerMap())
445 {
446 for(EntityParticleEffect* effect : mEntityParticleEffects)
447 RenderManager::getSingleton().rrEntityRemoveParticleEffect(this, effect->mParticleSystem);
448 }
449
450 for(EntityParticleEffect* effect : mEntityParticleEffects)
451 delete effect;
452
453 mEntityParticleEffects.clear();
454}
455
456std::string GameEntity::nextParticleSystemsName()
457{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80

Tested by

no test coverage detected