mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-15 16:45:08 +01:00
(svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot
This commit is contained in:
parent
c07f8f8777
commit
f5d61a1c6f
@ -1876,7 +1876,7 @@ void ShowCheatWindow(void)
|
|||||||
* @param horizontal Tells how far to the right the widgets should be moved (note: negative moves left)
|
* @param horizontal Tells how far to the right the widgets should be moved (note: negative moves left)
|
||||||
* @param vertical Tells how far down the widgets should be moved (note: negative moves up)
|
* @param vertical Tells how far down the widgets should be moved (note: negative moves up)
|
||||||
*/
|
*/
|
||||||
void ResizeWindowWidgets(Window *w, const byte *resizearray, byte length, byte horizontal, byte vertical)
|
void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical)
|
||||||
{
|
{
|
||||||
byte i;
|
byte i;
|
||||||
|
|
||||||
|
@ -26,6 +26,6 @@ enum {
|
|||||||
WIDGET_MOVE_DOWN_STRETCH_RIGHT = WIDGET_MOVE_DOWN | WIDGET_STRETCH_RIGHT,
|
WIDGET_MOVE_DOWN_STRETCH_RIGHT = WIDGET_MOVE_DOWN | WIDGET_STRETCH_RIGHT,
|
||||||
};
|
};
|
||||||
|
|
||||||
void ResizeWindowWidgets(Window *w, const byte *resizearray, byte length, byte horizontal, byte vertical);
|
void ResizeWindowWidgets(Window *w, const byte *resizearray, int16 length, byte horizontal, int16 vertical);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user