MCPcopy Create free account
hub / github.com/diasurgical/devilution / FindActor

Function FindActor

SourceX/controls/plrctrls.cpp:349–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349void FindActor()
350{
351 if (leveltype != DTYPE_TOWN)
352 CheckMonstersNearby();
353 else
354 CheckTownersNearby();
355
356 if (gbMaxPlayers != 1)
357 CheckPlayerNearby();
358}
359
360int pcursmissile;
361int pcurstrig;

Callers 1

Calls 3

CheckMonstersNearbyFunction · 0.85
CheckTownersNearbyFunction · 0.85
CheckPlayerNearbyFunction · 0.85

Tested by

no test coverage detected