1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 01:22:25 +01:00

Fix #24821: Unclear guest spawn point placement error message (#24827)

* 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:
Ríša Szlachta
2025-08-01 17:05:39 +02:00
committed by GitHub
parent a8767ec4d8
commit b8e163ffcf
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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,