Free command queues at end of game
At end of game, the disclose prompts put commands into the queue, but those weren't freed.
This commit is contained in:
@@ -1209,6 +1209,8 @@ freedynamicdata(void)
|
|||||||
free_CapMons();
|
free_CapMons();
|
||||||
free_rect();
|
free_rect();
|
||||||
freeroleoptvals(); /* saveoptvals(&tnhfp) */
|
freeroleoptvals(); /* saveoptvals(&tnhfp) */
|
||||||
|
cmdq_clear(CQ_CANNED);
|
||||||
|
cmdq_clear(CQ_REPEAT);
|
||||||
|
|
||||||
/* some pointers in iflags */
|
/* some pointers in iflags */
|
||||||
if (iflags.wc_font_map)
|
if (iflags.wc_font_map)
|
||||||
|
|||||||
Reference in New Issue
Block a user