diff options
author | rubidium <rubidium@openttd.org> | 2008-05-08 11:50:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-08 11:50:34 +0000 |
commit | 23fc96c3e8c252edbf2e7c22cefab633a0474410 (patch) | |
tree | 23ad171b2093a5c5980b9d912bf60056102af9fa /src/engine_gui.cpp | |
parent | 2eef026fe35b9236606062f7d8a59d5661a5c748 (diff) | |
download | openttd-23fc96c3e8c252edbf2e7c22cefab633a0474410.tar.xz |
(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.
Diffstat (limited to 'src/engine_gui.cpp')
-rw-r--r-- | src/engine_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_gui.cpp b/src/engine_gui.cpp index a91c0fb7d..819921587 100644 --- a/src/engine_gui.cpp +++ b/src/engine_gui.cpp @@ -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) |