From e859a6f13e97a72407d031c60554550d5adb64d7 Mon Sep 17 00:00:00 2001 From: David Fioramonti Date: Thu, 16 Aug 2018 06:41:51 -0700 Subject: BLADERUNNER: Update cos/sin table constructor change They now take in the size rather than the power of 2 exponent. --- engines/bladerunner/bladerunner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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(); -- cgit v1.2.3