Clear HUD messages on level transition

This commit is contained in:
AJ Martinez 2024-01-18 14:55:10 -07:00
parent b903da899e
commit c5bafc7b4c

View file

@ -114,6 +114,7 @@
#include "k_mapuser.h"
#include "music.h"
#include "k_dialogue.h"
#include "k_hud.h" // K_ClearPersistentMessages
// Replay names have time
#if !defined (UNDER_CE)
@ -8482,6 +8483,8 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
R_InitMobjInterpolators();
P_InitCachedActions();
K_ClearPersistentMessages();
// internal game map
maplumpname = mapheaderinfo[gamemap-1]->lumpname;
lastloadedmaplumpnum = mapheaderinfo[gamemap-1]->lumpnum;