diff options
Diffstat (limited to 'src/object_gui.cpp')
-rw-r--r-- | src/object_gui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/object_gui.cpp b/src/object_gui.cpp index fa90eb43b..9726aae66 100644 --- a/src/object_gui.cpp +++ b/src/object_gui.cpp @@ -26,6 +26,7 @@ #include "zoom_func.h" #include "terraform_cmd.h" #include "object_cmd.h" +#include "road_cmd.h" #include "widgets/object_widget.h" @@ -543,7 +544,7 @@ public: void OnPlaceObject(Point pt, TileIndex tile) override { ObjectClass *objclass = ObjectClass::Get(_selected_object_class); - Command<CMD_BUILD_OBJECT>::Post(STR_ERROR_CAN_T_BUILD_OBJECT, CcTerraform, + Command<CMD_BUILD_OBJECT>::Post(STR_ERROR_CAN_T_BUILD_OBJECT, CcPlaySound_CONSTRUCTION_OTHER, tile, objclass->GetSpec(_selected_object_index)->Index(), _selected_object_view); } |