equal
deleted
inserted
replaced
212 BuildDocksToolbWndProc |
212 BuildDocksToolbWndProc |
213 }; |
213 }; |
214 |
214 |
215 void ShowBuildDocksToolbar(void) |
215 void ShowBuildDocksToolbar(void) |
216 { |
216 { |
217 if (_current_player == OWNER_SPECTATOR) return; |
217 if (_current_player == PLAYER_SPECTATOR) return; |
218 DeleteWindowById(WC_BUILD_TOOLBAR, 0); |
218 DeleteWindowById(WC_BUILD_TOOLBAR, 0); |
219 AllocateWindowDesc(&_build_docks_toolbar_desc); |
219 AllocateWindowDesc(&_build_docks_toolbar_desc); |
220 if (_patches.link_terraform_toolbar) ShowTerraformToolbar(); |
220 if (_patches.link_terraform_toolbar) ShowTerraformToolbar(); |
221 } |
221 } |
222 |
222 |