diff options
author | glx <glx@openttd.org> | 2007-12-07 18:05:49 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-12-07 18:05:49 +0000 |
commit | c21f588a14f30fed3d683b4686975670adaf7ed5 (patch) | |
tree | d911871e265f9cc64abdaac46967f9c90de70315 /src/player_gui.cpp | |
parent | 98bd772119d0b603a53b31a875b5a2bc7e9108f7 (diff) | |
download | openttd-c21f588a14f30fed3d683b4686975670adaf7ed5.tar.xz |
(svn r11588) -Codechange: use the new member introduced in r11551
Diffstat (limited to 'src/player_gui.cpp')
-rw-r--r-- | src/player_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 33bc61abf..16d5ff3f3 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -1179,7 +1179,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, VHM_RECT, w); SetTileSelectSize(2, 2); w->LowerWidget(PCW_WIDGET_BUILD_VIEW_HQ); - InvalidateWidget(w, PCW_WIDGET_BUILD_VIEW_HQ); + w->InvalidateWidget(PCW_WIDGET_BUILD_VIEW_HQ); } else { ScrollMainWindowToTile(tile); } @@ -1190,7 +1190,7 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) SetObjectToPlaceWnd(SPR_CURSOR_HQ, PAL_NONE, VHM_RECT, w); SetTileSelectSize(2, 2); w->LowerWidget(PCW_WIDGET_RELOCATE_HQ); - InvalidateWidget(w, PCW_WIDGET_RELOCATE_HQ); + w->InvalidateWidget(PCW_WIDGET_RELOCATE_HQ); break; case PCW_WIDGET_BUY_SHARE: |