mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 19:43:06 +01:00
Show better errors when loading scenery groups (#16854)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#include <iterator>
|
||||
#include <vector>
|
||||
|
||||
bool _maxObjectsWasHit;
|
||||
bool _gSceneryGroupPartialSelectError;
|
||||
std::vector<uint8_t> _objectSelectionFlags;
|
||||
int32_t _numSelectedObjectsForType[EnumValue(ObjectType::Count)];
|
||||
static int32_t _numAvailableObjectsForType[EnumValue(ObjectType::Count)];
|
||||
@@ -581,7 +581,7 @@ bool window_editor_object_selection_select_object(uint8_t isMasterObject, int32_
|
||||
{
|
||||
if (!window_editor_object_selection_select_object(++isMasterObject, flags, sgEntry))
|
||||
{
|
||||
_maxObjectsWasHit = true;
|
||||
_gSceneryGroupPartialSelectError = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user