aboutsummaryrefslogtreecommitdiff
path: root/sword2/speech.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-01 17:08:23 +0000
committerTorbjörn Andersson2003-11-01 17:08:23 +0000
commit0435658b968fef8736b137ce2a50648e656f0bf5 (patch)
tree230a08f92a34e0da9765cad0b44e0ee6a3f59488 /sword2/speech.cpp
parent94edf540ef57e801efda2145026d97b6606d66b3 (diff)
downloadscummvm-rg350-0435658b968fef8736b137ce2a50648e656f0bf5.tar.gz
scummvm-rg350-0435658b968fef8736b137ce2a50648e656f0bf5.tar.bz2
scummvm-rg350-0435658b968fef8736b137ce2a50648e656f0bf5.zip
Create the gui object dynamically
svn-id: r11026
Diffstat (limited to 'sword2/speech.cpp')
-rw-r--r--sword2/speech.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/speech.cpp b/sword2/speech.cpp
index da073c73c8..1038132d6e 100644
--- a/sword2/speech.cpp
+++ b/sword2/speech.cpp
@@ -959,7 +959,7 @@ int32 Logic::fnISpeak(int32 *params) {
// for this line either, then just quit back to script right
// now!
- if (gui._subtitles == 0 && WantSpeechForLine(params[S_WAV]) == 0)
+ if (gui->_subtitles == 0 && WantSpeechForLine(params[S_WAV]) == 0)
return IR_CONT;
if (cycle_skip == 0) {
@@ -1191,7 +1191,7 @@ int32 Logic::fnISpeak(int32 *params) {
}
// if we want subtitles, or speech failed to load
- if (gui._subtitles || speechRunning == 0) {
+ if (gui->_subtitles || speechRunning == 0) {
// then we're going to show the text
textRunning = 1;