[Scummvm-git-logs] scummvm master -> 3eb7ff99d42a729ce9a005b676b33ea516fa5d9e

neuromancer noreply at scummvm.org
Sun May 26 19:57:50 UTC 2024


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:
3eb7ff99d4 FREESCAPE: improved player step in castle


Commit: 3eb7ff99d42a729ce9a005b676b33ea516fa5d9e
    https://github.com/scummvm/scummvm/commit/3eb7ff99d42a729ce9a005b676b33ea516fa5d9e
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2024-05-26T21:55:09+02:00

Commit Message:
FREESCAPE: improved player step in castle

Changed paths:
    engines/freescape/games/castle/castle.cpp


diff --git a/engines/freescape/games/castle/castle.cpp b/engines/freescape/games/castle/castle.cpp
index 6c87881fc09..85b8bd220b0 100644
--- a/engines/freescape/games/castle/castle.cpp
+++ b/engines/freescape/games/castle/castle.cpp
@@ -35,9 +35,9 @@ CastleEngine::CastleEngine(OSystem *syst, const ADGameDescription *gd) : Freesca
 	_playerHeight = _playerHeights[_playerHeightNumber];
 
 	_playerSteps.clear();
-	_playerSteps.push_back(1);
-	_playerSteps.push_back(10);
-	_playerSteps.push_back(25);
+	_playerSteps.push_back(15);
+	_playerSteps.push_back(30);
+	_playerSteps.push_back(120);
 	_playerStepIndex = 2;
 
 	_playerWidth = 8;
@@ -193,7 +193,7 @@ void CastleEngine::pressedKey(const int keycode) {
 		if (_playerHeightNumber == 0)
 			rise();
 		// TODO: raising can fail if there is no room, so the action should fail
-		_playerStepIndex = 1;
+		_playerStepIndex = 2;
 		insertTemporaryMessage(_messagesList[15], _countdown - 2);
 	} else if (keycode == Common::KEYCODE_w) {
 		if (_playerHeightNumber == 0)




More information about the Scummvm-git-logs mailing list