Correct return type in mapCoords

This commit is contained in:
Seth Hillbrand 2022-01-07 09:08:40 -08:00
parent 26c0a78947
commit 04c46a8fd2
1 changed files with 2 additions and 2 deletions

View File

@ -187,12 +187,12 @@ inline VECTOR2I mapCoords( const wxPoint& aCoord )
inline VECTOR2I mapCoords( const VECTOR2I& aCoord )
{
return wxPoint( aCoord.x, -aCoord.y );
return VECTOR2I( aCoord.x, -aCoord.y );
}
inline VECTOR2I mapCoords( const int x, const int y )
{
return wxPoint( x, -y );
return VECTOR2I( x, -y );
}
#endif