aboutsummaryrefslogtreecommitdiff
path: root/sword2/startup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/startup.cpp')
-rw-r--r--sword2/startup.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sword2/startup.cpp b/sword2/startup.cpp
index 3bca897a1c..cdc8699f61 100644
--- a/sword2/startup.cpp
+++ b/sword2/startup.cpp
@@ -33,7 +33,7 @@
#include "sword2/resman.h"
#include "sword2/router.h"
#include "sword2/sound.h"
-#include "sword2/speech.h" // for 'speech_text_bloc_no' - so that speech text can be cleared when running a new start-script
+#include "sword2/speech.h" // for '_speechTextBlocNo' - so that speech text can be cleared when running a new start-script
#include "sword2/startup.h"
#include "sword2/sync.h"
#include "sword2/tony_gsdk.h"
@@ -223,9 +223,9 @@ void Con_start(int start) {
router.freeAllRouteMem();
// if there was speech text, kill the text block
- if (speech_text_bloc_no) {
- fontRenderer.killTextBloc(speech_text_bloc_no);
- speech_text_bloc_no = 0;
+ if (g_logic._speechTextBlocNo) {
+ fontRenderer.killTextBloc(g_logic._speechTextBlocNo);
+ g_logic._speechTextBlocNo = 0;
}
// set the key