diff options
author | Max Horn | 2004-03-15 03:22:36 +0000 |
---|---|---|
committer | Max Horn | 2004-03-15 03:22:36 +0000 |
commit | e1b25fb7218fd18952cd07102818674c5f37c27d (patch) | |
tree | e3c27d3006aa8e1e013bf707a865e7cafa677cd5 /scumm/actor.cpp | |
parent | ba5aa37dccbb466f70984c8e7c51fbebf757457a (diff) | |
download | scummvm-rg350-e1b25fb7218fd18952cd07102818674c5f37c27d.tar.gz scummvm-rg350-e1b25fb7218fd18952cd07102818674c5f37c27d.tar.bz2 scummvm-rg350-e1b25fb7218fd18952cd07102818674c5f37c27d.zip |
After the refactoring it's clearly that _messagePtr can be removed. Hooray, yet another obscure global 'parameter' gone :-)
svn-id: r13299
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index e2cb63d552..4da2d37b84 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -1147,7 +1147,7 @@ int ScummEngine::getActorFromPos(int x, int y) { void ScummEngine::actorTalk(const byte *msg) { Actor *a; - _messagePtr = addMessageToStack(msg, _charsetBuffer, sizeof(_charsetBuffer)); + addMessageToStack(msg, _charsetBuffer, sizeof(_charsetBuffer)); // FIXME: Workaround for bugs #770039 and #770049 if (_gameId == GID_LOOM || _gameId == GID_LOOM256) { @@ -1225,7 +1225,6 @@ void ScummEngine::stopTalk() { } void ScummEngine::clearMsgQueue() { - _messagePtr = (const byte *)" "; stopTalk(); } |