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

Function shrink_enc

win/tty/wintty.c:4859–4868  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4857}
4858
4859static void
4860shrink_enc(int lvl)
4861{
4862 /* shrink or restore the encumbrance word */
4863 if (lvl <= 2) {
4864 enc_shrinklvl = lvl;
4865 Sprintf(status_vals[BL_CAP], " %s", encvals[lvl][enclev]);
4866 }
4867 tty_status[NOW][BL_CAP].lth = strlen(status_vals[BL_CAP]);
4868}
4869
4870static void
4871shrink_dlvl(int lvl)

Callers 1

make_things_fitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected