[Scummvm-cvs-logs] scummvm master -> e080594a7be6308f75bd5edac83a8e696d97c0fd

Littleboy littleboy22 at gmail.com
Thu Sep 8 06:07:38 CEST 2011


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:
e080594a7b LASTEXPRESS: Fix Francois being stuck when exiting compartment


Commit: e080594a7be6308f75bd5edac83a8e696d97c0fd
    https://github.com/scummvm/scummvm/commit/e080594a7be6308f75bd5edac83a8e696d97c0fd
Author: Littleboy (littleboy at scummvm.org)
Date: 2011-09-07T20:49:32-07:00

Commit Message:
LASTEXPRESS: Fix Francois being stuck when exiting compartment

Changed paths:
    engines/lastexpress/entities/francois.cpp



diff --git a/engines/lastexpress/entities/francois.cpp b/engines/lastexpress/entities/francois.cpp
index 6bbe740..2b170d9 100644
--- a/engines/lastexpress/entities/francois.cpp
+++ b/engines/lastexpress/entities/francois.cpp
@@ -221,7 +221,7 @@ IMPLEMENT_FUNCTION(9, Francois, function9)
 
 		case 1:
 			getObjects()->update(kObjectCompartmentD, kEntityPlayer, kObjectLocation2, kCursorKeepValue, kCursorKeepValue);
-			break;
+			// Fallback to next case
 
 		case 2:
 			getData()->location = kLocationOutsideCompartment;
@@ -257,7 +257,7 @@ IMPLEMENT_FUNCTION(10, Francois, function10)
 		case 1:
 			getObjects()->update(kObjectCompartmentD, kEntityPlayer, kObjectLocation2, kCursorKeepValue, kCursorKeepValue);
 			getSavePoints()->push(kEntityFrancois, kEntityMmeBoutarel, kAction102484312);
-			break;
+			// Fallback to next case
 
 		case 2:
 			getData()->location = kLocationInsideCompartment;






More information about the Scummvm-git-logs mailing list