Fix: jumping effect when scrolling viewport over bottom edge of the map (Patch by adf88, #6583)

This commit is contained in:
Johannes E. Krause
2019-01-13 20:54:21 +01:00
committed by Niels Martin Hansen
parent f0290d5de7
commit f744dea0ff
3 changed files with 33 additions and 114 deletions

View File

@@ -116,7 +116,7 @@ static inline Point InverseRemapCoords(int x, int y)
return pt;
}
Point InverseRemapCoords2(int x, int y, bool clamp_to_map = false);
Point InverseRemapCoords2(int x, int y, bool clamp_to_map = false, bool *clamped = NULL);
uint ApplyFoundationToSlope(Foundation f, Slope *s);
/**