mapeditor/tiled
The issue has been closed
wrong export if enum as flags have more than 30 values #3658
ms502040 posted onGitHub
Describe the bug If add more than 30 values (31 or 32) to enum when checked "Allow multiple values" (act ass flags) exported to json values are wrong. There is possible overflow on 30 bit.
Question Why only 32 values if we have today 64 bit computers? Is there any masochist here who programs games on 32 bit windows? 😏
To Reproduce
- create enum
- check "Allow multiple values"
- add 31 or 32 values
- assign this enum to object
- check some values
- export to json
- see exported file
Expected behavior right export or unable to add more than 30 values as flags
Specifications:
- OS: Windows 10
- Tiled Version: 1.10.1