[Scummvm-git-logs] scummvm master -> f55fc02e512b79ea944253b2a515b162e0c86174
bluegr
bluegr at gmail.com
Sun Jan 13 23:23:19 CET 2019
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:
f55fc02e51 SCI32: Fix QFG4 forest 580 pathfinding
Commit: f55fc02e512b79ea944253b2a515b162e0c86174
https://github.com/scummvm/scummvm/commit/f55fc02e512b79ea944253b2a515b162e0c86174
Author: Vhati (tvtronix at yahoo.com)
Date: 2019-01-14T00:23:15+02:00
Commit Message:
SCI32: Fix QFG4 forest 580 pathfinding
Adds a penalty workaround for room 580 entry from the south, bug #10870
Changed paths:
engines/sci/engine/kpathing.cpp
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index fb1183e..3177fbd 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -1419,6 +1419,10 @@ static void AStar(PathfindingState *s) {
// fails to turn at a point on the screen edge, passes the poly's corner,
// then approaches the destination from deeper in the room.
(g_sci->getGameId() == GID_QFG4 && g_sci->getEngineState()->currentRoomNumber() == 563) ||
+
+ // QFG4 room 580 - Hero zig-zags into the room (bug #10870).
+ // Entering from the south (581) off-screen behind an obstacle, as above.
+ (g_sci->getGameId() == GID_QFG4 && g_sci->getEngineState()->currentRoomNumber() == 580) ||
#endif
false;
More information about the Scummvm-git-logs
mailing list