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

bgK bastien.bouclet at gmail.com
Sun Dec 16 13:53:32 CET 2012


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:
fb38d7c04e MOHAWK: Fix an uninitialized var usage in Mechanical


Commit: fb38d7c04e94a96fa50abd277829ba3cd836d985
    https://github.com/scummvm/scummvm/commit/fb38d7c04e94a96fa50abd277829ba3cd836d985
Author: Bastien Bouclet (bastien.bouclet at gmail.com)
Date: 2012-12-16T04:51:21-08:00

Commit Message:
MOHAWK: Fix an uninitialized var usage in Mechanical

Thanks to digitall for the report

Changed paths:
    engines/mohawk/myst_stacks/mechanical.cpp



diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp
index 9e68889..ce6f902 100644
--- a/engines/mohawk/myst_stacks/mechanical.cpp
+++ b/engines/mohawk/myst_stacks/mechanical.cpp
@@ -39,6 +39,8 @@ Mechanical::Mechanical(MohawkEngine_Myst *vm) :
 		MystScriptParser(vm), _state(vm->_gameState->_mechanical) {
 	setupOpcodes();
 
+	_elevatorGoingMiddle = false;
+
 	_mystStaircaseState = false;
 	_fortressPosition = 0;
 	_fortressRotationSpeed = 0;






More information about the Scummvm-git-logs mailing list