aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/text.cpp
diff options
context:
space:
mode:
authorStrangerke2011-11-13 12:33:36 +0100
committerStrangerke2011-11-13 12:33:36 +0100
commit8097aeb43a916dac160bda11201a6fc79a933c40 (patch)
tree82647e8b79c2fd2669289119f2d0842073a4f871 /engines/cge/text.cpp
parent3ddea4952d2aec5ef61d0ae8762266edb9ceb02e (diff)
downloadscummvm-rg350-8097aeb43a916dac160bda11201a6fc79a933c40.tar.gz
scummvm-rg350-8097aeb43a916dac160bda11201a6fc79a933c40.tar.bz2
scummvm-rg350-8097aeb43a916dac160bda11201a6fc79a933c40.zip
CGE: F1 now displays Soltys version and translators.
This is only available in versions modified or translated by the team
Diffstat (limited to 'engines/cge/text.cpp')
-rw-r--r--engines/cge/text.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cge/text.cpp b/engines/cge/text.cpp
index 58acb5548c..021dad5709 100644
--- a/engines/cge/text.cpp
+++ b/engines/cge/text.cpp
@@ -177,6 +177,8 @@ void Text::say(const char *text, Sprite *spr) {
void CGEEngine::inf(const char *text) {
debugC(1, kCGEDebugEngine, "CGEEngine::inf(%s)", text);
+ if (!text)
+ return;
killText();
_talk = new Talk(this, text, kTBRect);