Correct return type in mapCoords
This commit is contained in:
parent
26c0a78947
commit
04c46a8fd2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue