mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-16 19:19:09 +00:00
(svn r17995) -Codechange: PreventHiding() is used in one file, make it static.
This commit is contained in:
@@ -1621,7 +1621,7 @@ enum PreventHideDirection {
|
||||
* @param px Previous horizontal base coordinate.
|
||||
* @param dir If no room horizontally, move the rectangle to the indicated position.
|
||||
*/
|
||||
void PreventHiding(int *nx, int *ny, const Rect &rect, const Window *v, int px, PreventHideDirection dir)
|
||||
static void PreventHiding(int *nx, int *ny, const Rect &rect, const Window *v, int px, PreventHideDirection dir)
|
||||
{
|
||||
if (v == NULL) return;
|
||||
|
||||
|
Reference in New Issue
Block a user