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:
2
distribution/openrct2.d.ts
vendored
2
distribution/openrct2.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user