Codechange: Move command arguments to the back of the networked command function calls.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user