[Scummvm-git-logs] scummvm master -> e20c0e3b09c2f3820b88e8fa7e3637019f420971
npjg
noreply at scummvm.org
Sun Jul 19 01:19:01 UTC 2026
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:
e20c0e3b09 MEDIASTATION: Fix ambiguous call to overloaded setToFloat on AmigaOS
Commit: e20c0e3b09c2f3820b88e8fa7e3637019f420971
https://github.com/scummvm/scummvm/commit/e20c0e3b09c2f3820b88e8fa7e3637019f420971
Author: Nathanael Gentry (nathanael.gentrydb8 at gmail.com)
Date: 2026-07-18T21:16:28-04:00
Commit Message:
MEDIASTATION: Fix ambiguous call to overloaded setToFloat on AmigaOS
The error was "error: call of overloaded âsetToFloat(const int32&)â is ambiguous"
Changed paths:
engines/mediastation/minigames/maze.cpp
diff --git a/engines/mediastation/minigames/maze.cpp b/engines/mediastation/minigames/maze.cpp
index 48bb52d79c1..49f3ddde474 100644
--- a/engines/mediastation/minigames/maze.cpp
+++ b/engines/mediastation/minigames/maze.cpp
@@ -162,7 +162,7 @@ void MazeMinigame::Maze::solve(const Common::Array<ScriptValue> &args, ScriptVal
// Scripts expect these padded indices.
const int32 paddedGridIndex = _grid->paddedIndexForCoord(coord);
ScriptValue paddedGridIndexValue;
- paddedGridIndexValue.setToFloat(paddedGridIndex);
+ paddedGridIndexValue.setToFloat(static_cast<double>(paddedGridIndex));
pathCollection->push_back(paddedGridIndexValue);
}
}
More information about the Scummvm-git-logs
mailing list