mirror of https://github.com/OpenRCT2/OpenRCT2.git
Close #21974: No reason specified when attempting to place path additions on junctions
This commit is contained in:
parent
63e996194f
commit
d58673105d
|
@ -239,6 +239,7 @@ Appreciation for contributors who have provided substantial work, but are no lon
|
||||||
* Cory Ye (CoryfY)
|
* Cory Ye (CoryfY)
|
||||||
* Karsten Van Fossan (karstenvanf)
|
* Karsten Van Fossan (karstenvanf)
|
||||||
* Kaavya Ramachandhran (ayvaak)
|
* Kaavya Ramachandhran (ayvaak)
|
||||||
|
* Mike Harvey (harvito)
|
||||||
|
|
||||||
## Toolchain
|
## Toolchain
|
||||||
* (Balletie) - macOS
|
* (Balletie) - macOS
|
||||||
|
|
|
@ -3699,6 +3699,7 @@ STR_6624 :Tile Inspector: Sort elements
|
||||||
STR_6625 :Invalid colour
|
STR_6625 :Invalid colour
|
||||||
STR_6626 :Animation is backwards
|
STR_6626 :Animation is backwards
|
||||||
STR_6627 :Track speed too high!
|
STR_6627 :Track speed too high!
|
||||||
|
STR_6628 :Can only be placed on path edges!
|
||||||
|
|
||||||
#############
|
#############
|
||||||
# Scenarios #
|
# Scenarios #
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
- Improved: [#21981] The map window now defaults to showing as much of the map as fits the screen.
|
- Improved: [#21981] The map window now defaults to showing as much of the map as fits the screen.
|
||||||
- Change: [#7248] Small mini-maps are now centred in the map window.
|
- Change: [#7248] Small mini-maps are now centred in the map window.
|
||||||
- Fix: [#13294] Map corners are cut off in some directions (original bug).
|
- Fix: [#13294] Map corners are cut off in some directions (original bug).
|
||||||
|
- Fix: [#21974] No reason specified when attempting to place benches, lamps, or bins on path with no unconnected edges (original bug).
|
||||||
|
|
||||||
0.4.11 (2024-05-05)
|
0.4.11 (2024-05-05)
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
|
@ -121,7 +121,8 @@ GameActions::Result FootpathAdditionPlaceAction::Query() const
|
||||||
if (!(sceneryFlags & (PATH_ADDITION_FLAG_JUMPING_FOUNTAIN_WATER | PATH_ADDITION_FLAG_JUMPING_FOUNTAIN_SNOW))
|
if (!(sceneryFlags & (PATH_ADDITION_FLAG_JUMPING_FOUNTAIN_WATER | PATH_ADDITION_FLAG_JUMPING_FOUNTAIN_SNOW))
|
||||||
&& (pathElement->GetEdges()) == 0x0F)
|
&& (pathElement->GetEdges()) == 0x0F)
|
||||||
{
|
{
|
||||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_POSITION_THIS_HERE, STR_NONE);
|
return GameActions::Result(
|
||||||
|
GameActions::Status::InvalidParameters, STR_CANT_POSITION_THIS_HERE, STR_CAN_ONLY_BE_PLACED_ON_PATH_EDGES);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((sceneryFlags & PATH_ADDITION_FLAG_IS_QUEUE_SCREEN) && !pathElement->IsQueue())
|
if ((sceneryFlags & PATH_ADDITION_FLAG_IS_QUEUE_SCREEN) && !pathElement->IsQueue())
|
||||||
|
|
|
@ -4047,6 +4047,8 @@ enum : uint16_t
|
||||||
|
|
||||||
STR_SPEED_TOO_HIGH = 6627,
|
STR_SPEED_TOO_HIGH = 6627,
|
||||||
|
|
||||||
|
STR_CAN_ONLY_BE_PLACED_ON_PATH_EDGES = 6628,
|
||||||
|
|
||||||
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
// Have to include resource strings (from scenarios and objects) for the time being now that language is partially working
|
||||||
/* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings
|
/* MAX_STR_COUNT = 32768 */ // MAX_STR_COUNT - upper limit for number of strings, not the current count strings
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue