(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
This commit is contained in:
@@ -114,7 +114,7 @@ static const WindowDesc _engine_preview_desc = {
|
||||
|
||||
void ShowEnginePreviewWindow(EngineID engine)
|
||||
{
|
||||
AllocateWindowDescFront(&_engine_preview_desc, engine);
|
||||
AllocateWindowDescFront<Window>(&_engine_preview_desc, engine);
|
||||
}
|
||||
|
||||
static void DrawTrainEngineInfo(EngineID engine, int x, int y, int maxw)
|
||||
|
Reference in New Issue
Block a user