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

Function IsIdentityDead

engine/Poseidon/UI/OptionsUI.cpp:1221–1237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1219 {
1220 return;
1221 }
1222
1223 for (int i = 0; i < mh->weapons.Size(); i++)
1224 {
1225 Ref<WeaponType> weapon = WeaponTypes.New(mh->weapons[i].name);
1226 if (!weapon)
1227 {
1228 continue;
1229 }
1230 int count = mh->weapons[i].count;
1231 for (int j = 0; j < count; j++)
1232 {
1233 pool._weaponsPool.Add(weapon);
1234 }
1235 }
1236 for (int i = 0; i < mh->magazines.Size(); i++)
1237 {
1238 Ref<MagazineType> type = MagazineTypes.New(mh->magazines[i].name);
1239 if (!type)
1240 {

Callers 1

AICenterImpl.cppFile · 0.85

Calls 2

CurrentMissionMethod · 0.80
SizeMethod · 0.45

Tested by

no test coverage detected