fix: dock not building
This commit is contained in:
@@ -195,7 +195,7 @@ struct BuildDocksToolbarWindow : Window {
|
|||||||
{
|
{
|
||||||
switch (this->last_clicked_widget) {
|
switch (this->last_clicked_widget) {
|
||||||
case WID_DT_CANAL: // Build canal button
|
case WID_DT_CANAL: // Build canal button
|
||||||
VpStartPlaceSizing(tile, VPM_X_AND_Y, DDSP_CREATE_WATER);
|
VpStartPlaceSizing(tile, (_game_mode == GM_EDITOR) ? VPM_X_AND_Y : VPM_X_OR_Y, DDSP_CREATE_WATER);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WID_DT_LOCK: // Build lock button
|
case WID_DT_LOCK: // Build lock button
|
||||||
|
|||||||
Reference in New Issue
Block a user