mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-05-06 19:01:18 +03:00
text: fix cleaning old text handles
This commit is contained in:
parent
68bd19cc86
commit
2d373902f5
3 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,6 @@ int32_t InitialiseLevel(int32_t level_num, GAMEFLOW_LEVEL_TYPE level_type)
|
|||
InitialiseLOTArray();
|
||||
|
||||
InitColours();
|
||||
Text_Init();
|
||||
Overlay_Init();
|
||||
|
||||
HealthBarTimer = 100;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "global/lib.h"
|
||||
#include "3dsystem/phd_math.h"
|
||||
#include "game/game.h"
|
||||
#include "game/text.h"
|
||||
#include "global/vars.h"
|
||||
#include "specific/clock.h"
|
||||
#include "specific/file.h"
|
||||
|
@ -69,7 +70,7 @@ void S_InitialiseSystem()
|
|||
S_SeedRandom();
|
||||
|
||||
Lib_Init();
|
||||
|
||||
Text_Init();
|
||||
ClockInit();
|
||||
SoundIsActive = SoundInit();
|
||||
MusicInit();
|
||||
|
|
|
@ -107,7 +107,7 @@ void GameMain()
|
|||
break;
|
||||
|
||||
case GF_EXIT_TO_TITLE:
|
||||
Text_Init();
|
||||
Text_RemoveAll();
|
||||
TempVideoAdjust(2);
|
||||
S_DisplayPicture("data\\titleh");
|
||||
NoInputCount = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue