mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
* Create named constant from previously commented-out line for string id 2251 * Change error message when trying to build spawn point outside footpath Error message change to STR_2251 :Can only be built on paths!
This commit is contained in:
@@ -67,7 +67,7 @@ GameActions::Result PeepSpawnPlaceAction::Query() const
|
||||
if (pathElement == nullptr)
|
||||
{
|
||||
return GameActions::Result(
|
||||
GameActions::Status::InvalidParameters, STR_ERR_CANT_PLACE_PEEP_SPAWN_HERE, STR_CAN_ONLY_BE_BUILT_ACROSS_PATHS);
|
||||
GameActions::Status::InvalidParameters, STR_ERR_CANT_PLACE_PEEP_SPAWN_HERE, STR_CAN_ONLY_BE_BUILT_ON_PATHS);
|
||||
}
|
||||
|
||||
// Verify location is unowned
|
||||
|
||||
@@ -914,7 +914,7 @@ enum : StringId
|
||||
STR_CANT_DEMOLISH_RIDE = 2248,
|
||||
STR_NEWS_ITEM_RESEARCH_NEW_RIDE_AVAILABLE = 2249,
|
||||
STR_NEWS_ITEM_RESEARCH_NEW_SCENERY_SET_AVAILABLE = 2250,
|
||||
// STR_2251 :Can only be built on paths!
|
||||
STR_CAN_ONLY_BE_BUILT_ON_PATHS = 2251,
|
||||
STR_CAN_ONLY_BE_BUILT_ACROSS_PATHS = 2252,
|
||||
STR_RESEARCH_NEW_TRANSPORT_RIDES = 2253,
|
||||
STR_RESEARCH_NEW_GENTLE_RIDES = 2254,
|
||||
|
||||
Reference in New Issue
Block a user