diff options
author | Torbjörn Andersson | 2007-01-03 07:56:24 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-01-03 07:56:24 +0000 |
commit | 85b780baf1ffbb1a3b77b8a6b7916a45364a74c4 (patch) | |
tree | e96f5ab7d273f7cc0a97aaabdd3d46dfa386bc84 /engines/sword2/sword2.h | |
parent | 6496482de5884b71fa3d263725c4f0ab41ef32d3 (diff) | |
download | scummvm-rg350-85b780baf1ffbb1a3b77b8a6b7916a45364a74c4.tar.gz scummvm-rg350-85b780baf1ffbb1a3b77b8a6b7916a45364a74c4.tar.bz2 scummvm-rg350-85b780baf1ffbb1a3b77b8a6b7916a45364a74c4.zip |
Use FRAMES_PER_SECOND, not getFramesPerSecond(), to calculate the number of
frames before a sound effect is triggered. This is not dependent on _gameSpeed.
svn-id: r24971
Diffstat (limited to 'engines/sword2/sword2.h')
-rw-r--r-- | engines/sword2/sword2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword2/sword2.h b/engines/sword2/sword2.h index 4e7de99833..3acdce0eeb 100644 --- a/engines/sword2/sword2.h +++ b/engines/sword2/sword2.h @@ -22,6 +22,8 @@ #ifndef SWORD2_H #define SWORD2_H +#define FRAMES_PER_SECOND 12 + // Enable this to make it possible to clear the mouse cursor luggage by // right-clicking. The original didn't do this, but it feels natural to me. // However, I'm afraid that it'll interfer badly with parts of the game, so |