Skip to content

Commit

Permalink
Use TILE_ELEMENT_NOT_FOUND
Browse files Browse the repository at this point in the history
Co-authored-by: Tulio Leao <[email protected]>
  • Loading branch information
pfroud and tupaschoal authored Jan 29, 2024
1 parent 01d9eeb commit 21bda5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2/actions/TrackSetBrakeSpeedAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ GameActions::Result TrackSetBrakeSpeedAction::QueryExecute(bool isExecuting) con
{
LOG_WARNING("Invalid game command for setting brakes speed. x = %d, y = %d", _loc.x, _loc.y);
return GameActions::Result(
GameActions::Status::InvalidParameters, STR_ERR_INVALID_PARAMETER, STR_ERR_VALUE_OUT_OF_RANGE);
GameActions::Status::InvalidParameters, STR_ERR_INVALID_PARAMETER, STR_ERR_TILE_ELEMENT_NOT_FOUND);
}

if (isExecuting)
Expand Down

0 comments on commit 21bda5e

Please sign in to comment.