diff options
author | Nipun Garg | 2019-06-18 15:35:11 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:16:47 +0200 |
commit | 5533de992f194fe5559dbd0665939607e2f6e186 (patch) | |
tree | 453432fc30aaffca67715a86a014295f1d3ee755 /engines | |
parent | 4de75b554e220d353674eb58b5fa4ce2e39e2584 (diff) | |
download | scummvm-rg350-5533de992f194fe5559dbd0665939607e2f6e186.tar.gz scummvm-rg350-5533de992f194fe5559dbd0665939607e2f6e186.tar.bz2 scummvm-rg350-5533de992f194fe5559dbd0665939607e2f6e186.zip |
HDB: Fix units in delay in processCines - C_WAIT
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/ai.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai.cpp b/engines/hdb/ai.cpp index 9c880796bd..cf4d93882c 100644 --- a/engines/hdb/ai.cpp +++ b/engines/hdb/ai.cpp @@ -88,9 +88,9 @@ void AI::processCines() { case C_WAIT: if (!((*it)->start)) { (*it)->start = 1; - (*it)->delay = g_system->getMillis() * 23.5 + (*it)->delay * 1000; + (*it)->delay = g_system->getMillis() + (*it)->delay * 1000; } else { - if ((*it)->delay < g_system->getMillis() * 23.5) { + if ((*it)->delay < g_system->getMillis()) { complete = true; } else { bailOut = true; |