Mercurial > hg > openttd
diff src/player_gui.cpp @ 8032:9c2c084ce541 draft
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
author | belugas <belugas@openttd.org> |
---|---|
date | Sat, 08 Dec 2007 01:20:47 +0000 |
parents | 936ad1eb1c04 |
children | 47b1794a7eca |
line wrap: on
line diff
--- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -1218,11 +1218,11 @@ if (DoCommandP(e->we.place.tile, 0, 0, NULL, CMD_BUILD_COMPANY_HQ | CMD_NO_WATER | CMD_MSG(STR_7071_CAN_T_BUILD_COMPANY_HEADQUARTERS))) ResetObjectToPlace(); w->widget[PCW_WIDGET_BUILD_VIEW_HQ].type = WWT_PUSHTXTBTN; // this button can now behave as a normal push button - RaiseWindowButtons(w); + w->RaiseButtons(); break; case WE_ABORT_PLACE_OBJ: - RaiseWindowButtons(w); + w->RaiseButtons(); break; case WE_DESTROY: