[Scummvm-git-logs] scummvm master -> b358f90d80692560a3cfcaf8c6b9164fbf19fb28
sev-
noreply at scummvm.org
Fri Mar 21 16:43:33 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
b358f90d80 QDENGINE: Fix path optimization algorithm
Commit: b358f90d80692560a3cfcaf8c6b9164fbf19fb28
https://github.com/scummvm/scummvm/commit/b358f90d80692560a3cfcaf8c6b9164fbf19fb28
Author: Alikhan Balpykov (lowliet1990 at mail.ru)
Date: 2025-03-22T00:43:30+08:00
Commit Message:
QDENGINE: Fix path optimization algorithm
Changed paths:
engines/qdengine/qdcore/qd_game_object_moving.cpp
diff --git a/engines/qdengine/qdcore/qd_game_object_moving.cpp b/engines/qdengine/qdcore/qd_game_object_moving.cpp
index 4d2692689f8..b41f5821b6d 100644
--- a/engines/qdengine/qdcore/qd_game_object_moving.cpp
+++ b/engines/qdengine/qdcore/qd_game_object_moving.cpp
@@ -2157,6 +2157,7 @@ void qdGameObjectMoving::optimize_path(Std::vector<Vect2i> &path) const {
auto itp = path.begin();
auto val = *itp;
+ opt_path.push_back(val);
itp++;
while (itp != path.end()) {
More information about the Scummvm-git-logs
mailing list