diff options
author | Strangerke | 2011-09-16 20:31:11 +0200 |
---|---|---|
committer | Strangerke | 2011-09-16 20:31:39 +0200 |
commit | 938c08ae589eaa9b0cafc02478997f34bf7d598d (patch) | |
tree | e2ca985bb8db4db38184a168cf7597a75b313a77 /engines/cge/text.cpp | |
parent | 679fc754089473b8459c07b7192eb07f0b1ca183 (diff) | |
download | scummvm-rg350-938c08ae589eaa9b0cafc02478997f34bf7d598d.tar.gz scummvm-rg350-938c08ae589eaa9b0cafc02478997f34bf7d598d.tar.bz2 scummvm-rg350-938c08ae589eaa9b0cafc02478997f34bf7d598d.zip |
CGE: Get rid of some more global functions and static members
Diffstat (limited to 'engines/cge/text.cpp')
-rw-r--r-- | engines/cge/text.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp index 3268070aff..c28e3ba70a 100644 --- a/engines/cge/text.cpp +++ b/engines/cge/text.cpp @@ -137,7 +137,7 @@ char *Text::getText(int ref) { } void Text::say(const char *text, Sprite *spr) { - killText(); + _vm->killText(); _talk = new Talk(_vm, text, kTBRound); if (!_talk) return; @@ -205,12 +205,4 @@ void Text::sayTime(Sprite *spr) { say(t, spr); } -void killText() { - if (!_talk) - return; - - _snail_->addCom(kSnKill, -1, 0, _talk); - _talk = NULL; -} - } // End of namespace CGE |