diff options
author | Filippos Karapetis | 2015-06-12 22:03:15 +0300 |
---|---|---|
committer | Filippos Karapetis | 2015-06-12 22:03:15 +0300 |
commit | 9c66934608cd6f756c170bcb050ee4d6452f0a36 (patch) | |
tree | 9cd52206ee9e1a016593e9df2fec968915b84bb9 /engines/sherlock/talk.cpp | |
parent | 91558e5f25a2ede20906a6550182dc30b8078567 (diff) | |
download | scummvm-rg350-9c66934608cd6f756c170bcb050ee4d6452f0a36.tar.gz scummvm-rg350-9c66934608cd6f756c170bcb050ee4d6452f0a36.tar.bz2 scummvm-rg350-9c66934608cd6f756c170bcb050ee4d6452f0a36.zip |
SHERLOCK: RT: Initial implementation of cmdWalkHolmesToCoords
Diffstat (limited to 'engines/sherlock/talk.cpp')
-rw-r--r-- | engines/sherlock/talk.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/sherlock/talk.cpp b/engines/sherlock/talk.cpp index 17e7333055..bfb5a40ade 100644 --- a/engines/sherlock/talk.cpp +++ b/engines/sherlock/talk.cpp @@ -1455,19 +1455,6 @@ OpcodeReturn Talk::cmdWalkToCAnimation(const byte *&str) { return _talkToAbort ? RET_EXIT : RET_SUCCESS; } -OpcodeReturn Talk::cmdWalkToCoords(const byte *&str) { - People &people = *_vm->_people; - ++str; - - people.walkToCoords(Point32(((str[0] - 1) * 256 + str[1] - 1) * FIXED_INT_MULTIPLIER, - str[2] * FIXED_INT_MULTIPLIER), str[3] - 1); - if (_talkToAbort) - return RET_EXIT; - - str += 3; - return RET_SUCCESS; -} - void Talk::talkWait(const byte *&str) { if (!_pauseFlag && _charCount < 160) _charCount = 160; |