mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Clear HUD messages on level transition
This commit is contained in:
parent
b903da899e
commit
c5bafc7b4c
1 changed files with 3 additions and 0 deletions
|
|
@ -114,6 +114,7 @@
|
||||||
#include "k_mapuser.h"
|
#include "k_mapuser.h"
|
||||||
#include "music.h"
|
#include "music.h"
|
||||||
#include "k_dialogue.h"
|
#include "k_dialogue.h"
|
||||||
|
#include "k_hud.h" // K_ClearPersistentMessages
|
||||||
|
|
||||||
// Replay names have time
|
// Replay names have time
|
||||||
#if !defined (UNDER_CE)
|
#if !defined (UNDER_CE)
|
||||||
|
|
@ -8482,6 +8483,8 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
||||||
R_InitMobjInterpolators();
|
R_InitMobjInterpolators();
|
||||||
P_InitCachedActions();
|
P_InitCachedActions();
|
||||||
|
|
||||||
|
K_ClearPersistentMessages();
|
||||||
|
|
||||||
// internal game map
|
// internal game map
|
||||||
maplumpname = mapheaderinfo[gamemap-1]->lumpname;
|
maplumpname = mapheaderinfo[gamemap-1]->lumpname;
|
||||||
lastloadedmaplumpnum = mapheaderinfo[gamemap-1]->lumpnum;
|
lastloadedmaplumpnum = mapheaderinfo[gamemap-1]->lumpnum;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue