diff options
| author | Max Horn | 2004-01-08 14:41:14 +0000 |
|---|---|---|
| committer | Max Horn | 2004-01-08 14:41:14 +0000 |
| commit | 2e8d4e2d9ec6c4a46a20418c8831e1d4b1eabab5 (patch) | |
| tree | 4651219b2642da52df8cf50fa971f57f2fd44767 | |
| parent | 85f8b442f212e4eb1b044cc7ed23747a4ca4e76b (diff) | |
| download | scummvm-rg350-2e8d4e2d9ec6c4a46a20418c8831e1d4b1eabab5.tar.gz scummvm-rg350-2e8d4e2d9ec6c4a46a20418c8831e1d4b1eabab5.tar.bz2 scummvm-rg350-2e8d4e2d9ec6c4a46a20418c8831e1d4b1eabab5.zip | |
Workaround for bug #770049
svn-id: r12251
| -rw-r--r-- | scumm/actor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index e0d16cb39b..3341186f41 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1121,6 +1121,12 @@ void ScummEngine::actorTalk() { _messagePtr = addMessageToStack(_messagePtr); assert((int)(_msgPtrToAdd - _charsetBuffer) < (int)(sizeof(_charsetBuffer))); + // FIXMW: Workaround for bug #770049 + if (_gameId == GID_LOOM) { + if (!*_charsetBuffer) + return; + } + if (_actorToPrintStrFor == 0xFF) { if (!_keepText) stopTalk(); |
