(svn r6569) -Fix r6562: fixed incorrect drawing of road vehicle depot
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user