summaryrefslogtreecommitdiff
path: root/src/object_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object_gui.cpp')
-rw-r--r--src/object_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object_gui.cpp b/src/object_gui.cpp
index 4ab961533..b05d46831 100644
--- a/src/object_gui.cpp
+++ b/src/object_gui.cpp
@@ -541,8 +541,8 @@ public:
void OnPlaceObject(Point pt, TileIndex tile) override
{
ObjectClass *objclass = ObjectClass::Get(_selected_object_class);
- DoCommandP(tile, objclass->GetSpec(_selected_object_index)->Index(),
- _selected_object_view, CMD_BUILD_OBJECT | CMD_MSG(STR_ERROR_CAN_T_BUILD_OBJECT), CcTerraform);
+ DoCommandP(CMD_BUILD_OBJECT | CMD_MSG(STR_ERROR_CAN_T_BUILD_OBJECT), CcTerraform,
+ tile, objclass->GetSpec(_selected_object_index)->Index(), _selected_object_view);
}
void OnPlaceObjectAbort() override