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

Function free_pickinv_cache

src/invent.c:3043–3050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3041}
3042
3043void
3044free_pickinv_cache(void)
3045{
3046 if (gc.cached_pickinv_win != WIN_ERR) {
3047 destroy_nhwindow(gc.cached_pickinv_win);
3048 gc.cached_pickinv_win = WIN_ERR;
3049 }
3050}
3051
3052/*
3053 * Internal function used by display_inventory and getobj that can display

Callers 2

tty_exit_nhwindowsFunction · 0.85
really_doneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected