MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / CampaignLoadWeaponPool

Function CampaignLoadWeaponPool

engine/Poseidon/UI/OptionsUI.cpp:1216–1219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1214 {
1215 RString name = pool._weaponsPool[i]->GetName();
1216 mh->AddWeapons(name, 1);
1217 }
1218
1219 mh->magazines.Clear();
1220 for (int i = 0; i < pool._magazinesPool.Size(); i++)
1221 {
1222 RString name = pool._magazinesPool[i]->_type->GetName();

Callers 3

AddMissionFunction · 0.85
ObjWeaponsFromPoolFunction · 0.85

Calls 1

LoadWeaponPoolMethod · 0.80

Tested by

no test coverage detected