[Scummvm-cvs-logs] scummvm master -> 5eaddc58633d6ed32ff145b3c5856143dc7ec827

dreammaster dreammaster at scummvm.org
Thu May 29 03:21:26 CEST 2014


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:
5eaddc5863 MADS: Formatting fix in scene 213 enter


Commit: 5eaddc58633d6ed32ff145b3c5856143dc7ec827
    https://github.com/scummvm/scummvm/commit/5eaddc58633d6ed32ff145b3c5856143dc7ec827
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-05-28T20:46:22-04:00

Commit Message:
MADS: Formatting fix in scene 213 enter

Changed paths:
    engines/mads/nebular/nebular_scenes2.cpp



diff --git a/engines/mads/nebular/nebular_scenes2.cpp b/engines/mads/nebular/nebular_scenes2.cpp
index fa480f6..7a9738f 100644
--- a/engines/mads/nebular/nebular_scenes2.cpp
+++ b/engines/mads/nebular/nebular_scenes2.cpp
@@ -4971,13 +4971,14 @@ void Scene213::enter() {
 	teleporterEnter();
 
 	// The original is calling Scene2xx::sceneEntrySound()
-		if (_vm->_musicFlag) {
-			if (_globals[kMeteorologistWatch] == METEOROLOGIST_NORMAL)
-				_vm->_sound->command(1);
-			else
-				_vm->_sound->command(9);
-		} else
-			_vm->_sound->command(2);
+	if (_vm->_musicFlag) {
+		if (_globals[kMeteorologistWatch] == METEOROLOGIST_NORMAL)
+			_vm->_sound->command(1);
+		else
+			_vm->_sound->command(9);
+	} else {
+		_vm->_sound->command(2);
+	}
 }
 
 void Scene213::step() {






More information about the Scummvm-git-logs mailing list