aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fioramonti2018-08-16 06:56:12 -0700
committerEugene Sandulenko2018-08-18 16:30:57 +0200
commit0805ac2be355659229f960f6fa3a889afa2d2ddc (patch)
tree69b3facc414a5dbae6c7d2478747b579098b882a
parentda57cef0c34162789100ea25eb0f4f3f7a1e90bf (diff)
downloadscummvm-rg350-0805ac2be355659229f960f6fa3a889afa2d2ddc.tar.gz
scummvm-rg350-0805ac2be355659229f960f6fa3a889afa2d2ddc.tar.bz2
scummvm-rg350-0805ac2be355659229f960f6fa3a889afa2d2ddc.zip
STARTREK: Update cos/sin table constructor change
They now take in the size rather than the power of 2 exponent.
-rw-r--r--engines/startrek/startrek.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/startrek.cpp b/engines/startrek/startrek.cpp
index e0aef012ea..cbbadc2a5c 100644
--- a/engines/startrek/startrek.cpp
+++ b/engines/startrek/startrek.cpp
@@ -53,7 +53,7 @@ StarTrekEngine::StarTrekEngine(OSystem *syst, const StarTrekGameDescription *gam
_spockActor(&_actorList[1]),
_mccoyActor(&_actorList[2]),
_redshirtActor(&_actorList[3]),
- _sineTable(10) {
+ _sineTable(1024) {
if (getPlatform() != Common::kPlatformDOS)
error("Only DOS versions of Star Trek: 25th Anniversary are currently supported");