aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner
diff options
context:
space:
mode:
authorThanasis Antoniou2019-10-24 13:41:07 +0300
committerThanasis Antoniou2019-10-24 13:41:07 +0300
commit901118c5cd5b3fe2f0a80d1785e51a0f035663ab (patch)
treec60d3ebc07ba9f91b91ce25fb5855b885fab92f8 /engines/bladerunner
parentf9eb651ba627cfd86be599b741da0326290989d7 (diff)
downloadscummvm-rg350-901118c5cd5b3fe2f0a80d1785e51a0f035663ab.tar.gz
scummvm-rg350-901118c5cd5b3fe2f0a80d1785e51a0f035663ab.tar.bz2
scummvm-rg350-901118c5cd5b3fe2f0a80d1785e51a0f035663ab.zip
BLADERUNNER: Remove redundant assignment for ammo
Diffstat (limited to 'engines/bladerunner')
-rw-r--r--engines/bladerunner/settings.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/bladerunner/settings.cpp b/engines/bladerunner/settings.cpp
index b0c6092200..722929fd55 100644
--- a/engines/bladerunner/settings.cpp
+++ b/engines/bladerunner/settings.cpp
@@ -65,12 +65,14 @@ Settings::Settings(BladeRunnerEngine *vm) {
_fullHDFrames = true;
_mst3k = false;
- // TODO: A bug? why is this set again here, overriding the initialization above?
+#if BLADERUNNER_ORIGINAL_BUGS
+ // Probably a bug. Assigning these here again, overrides the initialization above.
// Also note: the reset() method assigns "_ammoAmounts[0] = 1" like above!
_ammoType = 0;
_ammoAmounts[0] = 0;
_ammoAmounts[1] = 0;
_ammoAmounts[2] = 0;
+#endif // BLADERUNNER_ORIGINAL_BUGS
_learyMode = false;
}