diff options
author | Robert Špalek | 2009-10-30 01:56:52 +0000 |
---|---|---|
committer | Robert Špalek | 2009-10-30 01:56:52 +0000 |
commit | d662c4aa20342e74ed5d82a14e3fc8e62a45ca8c (patch) | |
tree | f75bfb0465e398fac23955f526207ee9b50fec13 /engines/draci/script.cpp | |
parent | c778efaca5b9d20f73e9d12cc8404d8948f8e522 (diff) | |
download | scummvm-rg350-d662c4aa20342e74ed5d82a14e3fc8e62a45ca8c.tar.gz scummvm-rg350-d662c4aa20342e74ed5d82a14e3fc8e62a45ca8c.tar.bz2 scummvm-rg350-d662c4aa20342e74ed5d82a14e3fc8e62a45ca8c.zip |
Remove the last 2 default parameter values.
They usually just add unnecessary confusion and this is definitely such
an example. Removal will clarify the code.
svn-id: r45512
Diffstat (limited to 'engines/draci/script.cpp')
-rw-r--r-- | engines/draci/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp index 7fc74e4607..608dac598b 100644 --- a/engines/draci/script.cpp +++ b/engines/draci/script.cpp @@ -708,7 +708,7 @@ void Script::talk(Common::Queue<int> ¶ms) { // Fetch frame for the speech text Animation *speechAnim = _vm->_anims->getAnimation(kSpeechText); - Text *speechFrame = reinterpret_cast<Text *>(speechAnim->getFrame()); + Text *speechFrame = reinterpret_cast<Text *>(speechAnim->getCurrentFrame()); // Fetch person info const Person *person = _vm->_game->getPerson(personID); |