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

Function more_than_one

src/display.c:3146–3154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3144/*ARGSUSED*/
3145#ifdef WA_VERBOSE
3146staticfn boolean
3147more_than_one(coordxy x, coordxy y, coordxy a, coordxy b, coordxy c)
3148{
3149 if ((a && (b | c)) || (b && (a | c)) || (c && (a | b))) {
3150 error4(x, y, a, b, c, 0);
3151 return TRUE;
3152 }
3153 return FALSE;
3154}
3155#else
3156#define more_than_one(x, y, a, b, c) \
3157 (((a) && ((b) | (c))) || ((b) && ((a) | (c))) || ((c) && ((a) | (b))))

Callers 2

row_refreshFunction · 0.85
set_wallFunction · 0.85

Calls 1

error4Function · 0.85

Tested by

no test coverage detected