[Scummvm-git-logs] scummvm master -> 3d58e5747a3a6a9b671c23f65bdfb67c5a58c8dd
sluicebox
noreply at scummvm.org
Sun Oct 27 18:16:21 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:
3d58e5747a FREESCAPE: Fix MSVC build
Commit: 3d58e5747a3a6a9b671c23f65bdfb67c5a58c8dd
https://github.com/scummvm/scummvm/commit/3d58e5747a3a6a9b671c23f65bdfb67c5a58c8dd
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2024-10-27T11:15:11-07:00
Commit Message:
FREESCAPE: Fix MSVC build
Changed paths:
engines/freescape/area.cpp
diff --git a/engines/freescape/area.cpp b/engines/freescape/area.cpp
index 26acb1178a8..5eb2b667add 100644
--- a/engines/freescape/area.cpp
+++ b/engines/freescape/area.cpp
@@ -444,9 +444,9 @@ Math::Vector3d Area::resolveCollisions(const Math::Vector3d &lastPosition_, cons
// Ugly hack to fix the collisions in tight spaces in the stores and junk room
// for Castle Master
if (_name == " STORES " && _areaID == 62) {
- reductionHeight = 0.3;
+ reductionHeight = 0.3f;
} else if (_name == " JUNK ROOM " && _areaID == 61) {
- reductionHeight = 0.3;
+ reductionHeight = 0.3f;
}
Math::AABB boundingBox = createPlayerAABB(lastPosition, playerHeight, reductionHeight);
More information about the Scummvm-git-logs
mailing list