[Scummvm-git-logs] scummvm master -> f9eb651ba627cfd86be599b741da0326290989d7

antoniou79 antoniou at cti.gr
Thu Oct 24 12:14:13 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f9eb651ba6 BLADERUNNER: Minor comments update and spelling correction


Commit: f9eb651ba627cfd86be599b741da0326290989d7
    https://github.com/scummvm/scummvm/commit/f9eb651ba627cfd86be599b741da0326290989d7
Author: Thanasis Antoniou (a.antoniou79 at gmail.com)
Date: 2019-10-24T13:13:51+03:00

Commit Message:
BLADERUNNER: Minor comments update and spelling correction

Changed paths:
    engines/bladerunner/set.cpp
    engines/bladerunner/settings.cpp


diff --git a/engines/bladerunner/set.cpp b/engines/bladerunner/set.cpp
index 33d6027..f968efd 100644
--- a/engines/bladerunner/set.cpp
+++ b/engines/bladerunner/set.cpp
@@ -432,7 +432,7 @@ void Set::load(SaveFileReadStream &f) {
 /**
 * Used for bugfixes mainly with respect to bad box positioning / bounding box fixes
 * TODO If we have many such cases, perhaps we could use a lookup table
-*		using sceneId, objectId (or name) as keys
+*      using sceneId, objectId (or name) as keys
 */
 void Set::overrideSceneObjectInfo(int objectId) const {
 	switch (_vm->_scene->getSceneId()) {
diff --git a/engines/bladerunner/settings.cpp b/engines/bladerunner/settings.cpp
index b4a0022..b0c6092 100644
--- a/engines/bladerunner/settings.cpp
+++ b/engines/bladerunner/settings.cpp
@@ -65,7 +65,8 @@ Settings::Settings(BladeRunnerEngine *vm) {
 	_fullHDFrames = true;
 	_mst3k = false;
 
-	// TODO: A bug? why is this set again here?
+	// TODO: A bug? why is this set again here, overriding the initialization above?
+	//       Also note: the reset() method assigns "_ammoAmounts[0] = 1" like above!
 	_ammoType = 0;
 	_ammoAmounts[0] = 0;
 	_ammoAmounts[1] = 0;





More information about the Scummvm-git-logs mailing list