diff options
author | Adrian Frühwirth | 2018-05-06 12:05:37 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-03 14:58:09 +0200 |
commit | a4ab2d8cfe5cb5db0f5ccb7854bbd726a5fa0eaf (patch) | |
tree | fb66c6b47f8345079b2084f1e0494d761f493ad3 /engines/saga/saga.h | |
parent | de1a35a9d9ae1ba7b9ce23e1a6beb782480a8aad (diff) | |
download | scummvm-rg350-a4ab2d8cfe5cb5db0f5ccb7854bbd726a5fa0eaf.tar.gz scummvm-rg350-a4ab2d8cfe5cb5db0f5ccb7854bbd726a5fa0eaf.tar.bz2 scummvm-rg350-a4ab2d8cfe5cb5db0f5ccb7854bbd726a5fa0eaf.zip |
SAGA: Deduplicate kScriptTimeTicksPerSecond constant
Diffstat (limited to 'engines/saga/saga.h')
-rw-r--r-- | engines/saga/saga.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/saga/saga.h b/engines/saga/saga.h index 422eaa530d..db581f2c8c 100644 --- a/engines/saga/saga.h +++ b/engines/saga/saga.h @@ -311,7 +311,6 @@ enum GameObjectTypes { enum ScriptTimings { kScriptTimeTicksPerSecond = (728L/10L), - kScriptTimeTicksPerSecondIHNM = 72, kRepeatSpeedTicks = (728L/10L)/3, kNormalFadeDuration = 320, // 64 steps, 5 msec each kQuickFadeDuration = 64, // 64 steps, 1 msec each @@ -586,10 +585,7 @@ public: } inline int ticksToMSec(int tick) const { - if (getGameId() == GID_ITE) - return tick * 1000 / kScriptTimeTicksPerSecond; - else - return tick * 1000 / kScriptTimeTicksPerSecondIHNM; + return tick * 1000 / kScriptTimeTicksPerSecond; } private: |