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

wjp wjp at usecode.org
Sat Dec 26 18:56:13 CET 2015


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:
f23dcd64b0 LAB: Make breadcrumb key checks more consistent


Commit: f23dcd64b0cca9b9c28dd5e985c1e497bb0b2477
    https://github.com/scummvm/scummvm/commit/f23dcd64b0cca9b9c28dd5e985c1e497bb0b2477
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2015-12-26T18:55:31+01:00

Commit Message:
LAB: Make breadcrumb key checks more consistent

This platform check was lost in
60d4f0a0695f8eaf5aced2df7dfe3c191e37ae25.

Changed paths:
    engines/lab/engine.cpp



diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index b01daf7..4b39073 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -620,7 +620,7 @@ bool LabEngine::processKey(IntuiMessage *curMsg, uint32 msgClass, uint16 &qualif
 		_droppingCrumbs = true;
 		mayShowCrumbIndicator();
 		_graphics->screenUpdate();
-	} else if ((code == Common::KEYCODE_f) || (code == Common::KEYCODE_r)) {
+	} else if (getPlatform() == Common::kPlatformWindows && (code == Common::KEYCODE_f || code == Common::KEYCODE_r)) {
 		// Follow bread crumbs
 		if (_droppingCrumbs) {
 			if (_numCrumbs > 0) {






More information about the Scummvm-git-logs mailing list