1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-23 15:52:55 +01:00

Change ToolEventArgs.mapCoords from CoordsXYZ to CoordsXY

Testing showed that the event returns CoordsXY instead of CoordsXYZ. The code can be traced back to InteractionInfo.Loc (Viewport.h), which is CoordsXY.
This commit is contained in:
Stephan Spengler
2024-07-24 16:42:02 +02:00
committed by GitHub
parent 869314e386
commit ba779ac64c

View File

@@ -4281,7 +4281,7 @@ declare global {
interface ToolEventArgs {
readonly isDown: boolean;
readonly screenCoords: ScreenCoordsXY;
readonly mapCoords?: CoordsXYZ;
readonly mapCoords?: CoordsXY;
readonly tileElementIndex?: number;
readonly entityId?: number;
}