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

Function automiss

src/dbridge.c:485–490  ·  view source on GitHub ↗

* These are never directly affected by a bridge or portcullis. */

Source from the content-addressed store, hash-verified

483 * These are never directly affected by a bridge or portcullis.
484 */
485staticfn boolean
486automiss(struct entity *etmp)
487{
488 return (boolean) ((is_u(etmp) ? Passes_walls : passes_walls(etmp->edata))
489 || noncorporeal(etmp->edata));
490}
491
492/*
493 * Does falling drawbridge or portcullis miss etmp?

Callers 3

e_missedFunction · 0.85
do_entityFunction · 0.85
destroy_drawbridgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected