mirror of https://github.com/OpenRCT2/OpenRCT2.git
Fix #6954. Readd Error Message for too many rides
Removed during refactor of game actions
This commit is contained in:
parent
ff7eb93f5f
commit
9e30bfe313
|
@ -75,7 +75,7 @@ public:
|
||||||
if (rideIndex == -1)
|
if (rideIndex == -1)
|
||||||
{
|
{
|
||||||
// No more free slots available.
|
// No more free slots available.
|
||||||
return std::make_unique<RideCreateGameActionResult>(GA_ERROR::NO_FREE_ELEMENTS, STR_NONE);
|
return std::make_unique<RideCreateGameActionResult>(GA_ERROR::NO_FREE_ELEMENTS, STR_TOO_MANY_RIDES);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_rideType >= RIDE_TYPE_COUNT)
|
if (_rideType >= RIDE_TYPE_COUNT)
|
||||||
|
|
Loading…
Reference in New Issue