aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorThierry Crozat2017-11-20 22:40:44 +0000
committerThierry Crozat2018-01-23 02:15:41 +0000
commit4014f4efae4f5341794b6eed287a888b3cf32ceb (patch)
treeddbde4d17e4ab20c6ebf1f73830832c3648b92db /engines
parent312f33af3a84341f6f13b4debc7f9e1bd5420958 (diff)
downloadscummvm-rg350-4014f4efae4f5341794b6eed287a888b3cf32ceb.tar.gz
scummvm-rg350-4014f4efae4f5341794b6eed287a888b3cf32ceb.tar.bz2
scummvm-rg350-4014f4efae4f5341794b6eed287a888b3cf32ceb.zip
SUPERNOVA: Fix timing of search events
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 6efcd49e8c..045450904e 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -651,7 +651,7 @@ void GameManager::startSearch() {
}
void GameManager::search(int time) {
- _state._eventTime = _state._time + time;
+ _state._eventTime = _state._time + ticksToMsec(time);
_state._eventCallback = kSearchStartFn;
}