diff options
author | eriktorbjorn | 2011-06-19 11:17:54 +0200 |
---|---|---|
committer | eriktorbjorn | 2011-06-19 11:17:54 +0200 |
commit | 78e3f2a57bc0442066e00c9b625bbdde3c80ddf9 (patch) | |
tree | dd3083c98c7865fcb2664a5843c77924068860ab /engines/cge/snail.cpp | |
parent | 3871c71f0e6f5202e935ac7119fefedde1f8e449 (diff) | |
download | scummvm-rg350-78e3f2a57bc0442066e00c9b625bbdde3c80ddf9.tar.gz scummvm-rg350-78e3f2a57bc0442066e00c9b625bbdde3c80ddf9.tar.bz2 scummvm-rg350-78e3f2a57bc0442066e00c9b625bbdde3c80ddf9.zip |
CGE: Get rid of some static initializing
ScummVM itself (not the engine; I haven't tried that) now starts
without crashing. It exits immediately, but as far as I can tell
it does not crash. It still produces lots of Valgrind warnings,
though...
Diffstat (limited to 'engines/cge/snail.cpp')
-rw-r--r-- | engines/cge/snail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp index ec1fae515c..29ab11a36e 100644 --- a/engines/cge/snail.cpp +++ b/engines/cge/snail.cpp @@ -959,13 +959,13 @@ void SNAIL::RunCom(void) { if (sprel && TalkEnable) { if (sprel == Hero && sprel->SeqTest(-1)) sprel->Step(HTALK); - Say(Text[snc->Val], sprel); + Say(Text->getText(snc->Val), sprel); SYSTEM::FunDel = HEROFUN0; } break; case SNINF : if (TalkEnable) { - Inf(Text[snc->Val]); + Inf(Text->getText(snc->Val)); SYSTEM::FunDel = HEROFUN0; } break; |