mirror of
https://github.com/rosebudai/OpenRCT2-Web.git
synced 2026-12-05 20:55:14 +01:00
Show better errors when loading scenery groups (#16854)
This commit is contained in:
1 parent
a2f7ffcb71
commit
c5b5b95bcd
3 files changed
+15
-7
No files matched your search
@@ -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