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

Method createMeshWeapons

source/entities/Creature.cpp:302–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302void Creature::createMeshWeapons()
303{
304 if(getIsOnServerMap())
305 return;
306
307 if(mWeaponL != nullptr)
308 RenderManager::getSingleton().rrCreateWeapon(this, mWeaponL, "L");
309
310 if(mWeaponR != nullptr)
311 RenderManager::getSingleton().rrCreateWeapon(this, mWeaponR, "R");
312}
313
314void Creature::destroyMeshWeapons()
315{

Callers

nothing calls this directly

Calls 1

rrCreateWeaponMethod · 0.80

Tested by

no test coverage detected