MCPcopy Index your code
hub / github.com/NetHack/NetHack / dissolve_bars

Function dissolve_bars

src/monmove.c:2169–2178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2167}
2168
2169void
2170dissolve_bars(coordxy x, coordxy y)
2171{
2172 levl[x][y].typ = (levl[x][y].edge == 1) ? DOOR
2173 : (Is_special(&u.uz) || *in_rooms(x, y, 0)) ? ROOM : CORR;
2174 levl[x][y].flags = 0; /* doormask = D_NODOOR */
2175 newsym(x, y);
2176 if (u_at(x, y))
2177 switch_terrain();
2178}
2179
2180boolean
2181closed_door(coordxy x, coordxy y)

Callers 4

still_chewingFunction · 0.85
zap_over_floorFunction · 0.85
postmovFunction · 0.85
hit_barsFunction · 0.85

Calls 4

Is_specialFunction · 0.85
in_roomsFunction · 0.85
newsymFunction · 0.85
switch_terrainFunction · 0.85

Tested by

no test coverage detected