mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r17995) -Codechange: PreventHiding() is used in one file, make it static.
This commit is contained in:
parent
3ae1b98d3a
commit
b500170ac2
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue