diff options
| author | Johannes Schickel | 2009-08-10 01:34:29 +0000 |
|---|---|---|
| committer | Johannes Schickel | 2009-08-10 01:34:29 +0000 |
| commit | 3ad62ee71bbf41a93f18ff789e0521795e29baab (patch) | |
| tree | 1b4aaadb2b32dcbf703688939dc4dcd2d7489405 | |
| parent | bee9391d95ccd85a13a31b8d3a129f367c8c23c7 (diff) | |
| download | scummvm-rg350-3ad62ee71bbf41a93f18ff789e0521795e29baab.tar.gz scummvm-rg350-3ad62ee71bbf41a93f18ff789e0521795e29baab.tar.bz2 scummvm-rg350-3ad62ee71bbf41a93f18ff789e0521795e29baab.zip | |
Cleanup.
svn-id: r43198
| -rw-r--r-- | engines/kyra/text_lok.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/text_lok.cpp b/engines/kyra/text_lok.cpp index f880bf3886..d2128b7037 100644 --- a/engines/kyra/text_lok.cpp +++ b/engines/kyra/text_lok.cpp @@ -326,7 +326,9 @@ void KyraEngine_LoK::drawSentenceCommand(const char *sentence, int color) { if (_flags.platform == Common::kPlatformAmiga) { if (color != 19) { - memset(_currSentenceColor, 0x3F, sizeof(_currSentenceColor)); + _currSentenceColor[0] = 0x3F; + _currSentenceColor[1] = 0x3F; + _currSentenceColor[2] = 0x3F; _screen->setInterfacePalette(_screen->getPalette(1), _currSentenceColor[0], _currSentenceColor[1], _currSentenceColor[2]); |
