diff options
author | Travis Howell | 2006-10-14 14:29:14 +0000 |
---|---|---|
committer | Travis Howell | 2006-10-14 14:29:14 +0000 |
commit | c028323a29dea12901d70c7a4f6de97a231728aa (patch) | |
tree | 7aed407c24501db8fc2b06d72bad8edd16603575 /engines/agos/string.cpp | |
parent | b4fcc3b17af8cf7f58b4ea02331602c92e906a4e (diff) | |
download | scummvm-rg350-c028323a29dea12901d70c7a4f6de97a231728aa.tar.gz scummvm-rg350-c028323a29dea12901d70c7a4f6de97a231728aa.tar.bz2 scummvm-rg350-c028323a29dea12901d70c7a4f6de97a231728aa.zip |
Add extra video opcodes for Elvira 1 demo
svn-id: r24315
Diffstat (limited to 'engines/agos/string.cpp')
-rw-r--r-- | engines/agos/string.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/agos/string.cpp b/engines/agos/string.cpp index 65dc578336..5eb6f1f510 100644 --- a/engines/agos/string.cpp +++ b/engines/agos/string.cpp @@ -444,11 +444,12 @@ void AGOSEngine::printScreenText(uint vgaSpriteId, uint color, const char *strin if (getGameType() == GType_FF) { renderString(1, color, width, height, convertedString); } else { - color = color * 3 + 192; - if (getPlatform() == Common::kPlatformAmiga) + if (getPlatform() == Common::kPlatformAmiga) { renderStringAmiga(vgaSpriteId, color, width, height, convertedString); - else + } else { + color = color * 3 + 192; renderString(vgaSpriteId, color, width, height, convertedString); + } } int b = 4; |