diff options
author | David Fioramonti | 2018-08-16 06:41:51 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-18 16:30:57 +0200 |
commit | e859a6f13e97a72407d031c60554550d5adb64d7 (patch) | |
tree | 1f2ee4e9001faf8b112f67cd79c4271f9c6f74fb | |
parent | 9cfc70e7fe881cfbd680322b6beeb9a7ab7149c3 (diff) | |
download | scummvm-rg350-e859a6f13e97a72407d031c60554550d5adb64d7.tar.gz scummvm-rg350-e859a6f13e97a72407d031c60554550d5adb64d7.tar.bz2 scummvm-rg350-e859a6f13e97a72407d031c60554550d5adb64d7.zip |
BLADERUNNER: Update cos/sin table constructor change
They now take in the size rather than the power of 2 exponent.
-rw-r--r-- | engines/bladerunner/bladerunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/bladerunner/bladerunner.cpp b/engines/bladerunner/bladerunner.cpp index 4ad3ab0681..362e0c4b6c 100644 --- a/engines/bladerunner/bladerunner.cpp +++ b/engines/bladerunner/bladerunner.cpp @@ -315,8 +315,8 @@ bool BladeRunnerEngine::startup(bool hasSavegames) { // Seed rand // TODO: Sine and cosine lookup tables for intervals of 1.0, 4.0, and 12.0 - _cosTable1024 = new Common::CosineTable(10); // 10-bits = 1024 points for 2*PI; - _sinTable1024 = new Common::SineTable(10); + _cosTable1024 = new Common::CosineTable(1024); // 10-bits = 1024 points for 2*PI; + _sinTable1024 = new Common::SineTable(1024); _view = new View(); |