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

Method saveLevelEquipments

source/gamemap/GameMap.cpp:476–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476void GameMap::saveLevelEquipments(std::ofstream& levelFile)
477{
478 for (std::pair<const Weapon*,Weapon*>& def : mWeapons)
479 {
480 if(def.second == nullptr)
481 continue;
482
483 Weapon::writeWeaponDiff(def.first, def.second, levelFile);
484 }
485}
486
487void GameMap::addCreature(Creature *cc)
488{

Callers 1

writeGameMapToFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected