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
This commit is contained in:
parent
c778efaca5
commit
d662c4aa20
4 changed files with 21 additions and 30 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue