MCPcopy Create free account
hub / github.com/CleverRaven/Cataclysm-DDA / valid

Method valid

src/game.cpp:11839–11843  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11837
11838template<>
11839bool game::non_dead_range<monster>::iterator::valid()
11840{
11841 current = iter->lock();
11842 return current && !current->is_dead();
11843}
11844
11845template<>
11846bool game::non_dead_range<npc>::iterator::valid()

Callers 15

power_bionicsMethod · 0.45
startMethod · 0.45
finishMethod · 0.45
handle_pryingMethod · 0.45
handle_prying_nailsMethod · 0.45
shearableMethod · 0.45
reassign_letterMethod · 0.45
draw_quick_shortcutsFunction · 0.45
power_mutationsMethod · 0.45
crowbarMethod · 0.45
oxytorchMethod · 0.45

Calls 4

is_deadMethod · 0.45
getMethod · 0.45
is_monsterMethod · 0.45
is_npcMethod · 0.45

Tested by

no test coverage detected