mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 20:01:25 +00:00
TRECISION: Fix Codacy issues
This commit is contained in:
parent
8476747ede
commit
c9244ac183
@ -150,7 +150,7 @@ void TextManager::characterContinueTalk() {
|
||||
|
||||
_talkTime = _vm->_soundMgr->talkStart(_lastFilename);
|
||||
if (!_talkTime)
|
||||
_talkTime = (strlen(_subString[_curSubString]) * 5) / 2 + 50;
|
||||
_talkTime = Common::String(_subString[_curSubString]).size() * 5 / 2 + 50;
|
||||
|
||||
_curSubString++;
|
||||
|
||||
@ -197,7 +197,7 @@ void TextManager::someoneContinueTalk() {
|
||||
|
||||
_talkTime = _vm->_soundMgr->talkStart(_lastFilename);
|
||||
if (!_talkTime)
|
||||
_talkTime = (strlen(_subString[_curSubString]) * 5) / 2 + 50;
|
||||
_talkTime = Common::String(_subString[_curSubString]).size() * 5 / 2 + 50;
|
||||
|
||||
_curSubString++;
|
||||
_vm->_scheduler->doEvent(MC_STRING, ME_SOMEONESPEAKING, MP_DEFAULT, 0, 0, 0, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user