MCPcopy Create free account
hub / github.com/NetHack/NetHack / hastrack

Function hastrack

src/track.c:62–72  ·  view source on GitHub ↗

return TRUE if x,y has hero tracks on it */

Source from the content-addressed store, hash-verified

60
61/* return TRUE if x,y has hero tracks on it */
62boolean
63hastrack(coordxy x, coordxy y)
64{
65 int i;
66
67 for (i = 0; i < utcnt; i++)
68 if (utrack[i].x == x && utrack[i].y == y)
69 return TRUE;
70
71 return FALSE;
72}
73
74/* save the hero tracking info */
75void

Callers 1

mfndposFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected