parent_type::builtin isn't constant unless builtin is redefined in the code
|
|
Resolved
When the :: operator was used with a built-in var that hadn't been overridden (e.g., parent_type::appearance_flags), it didn't compile as a constant value. This has been corrected wherever feasible.
|
BYOND Version: | 515.1608 |
Operating System: | Windows 11 Home 64-bit |
Web Browser: | Chrome 114.0.0.0 |
Applies to: | Dream Daemon |
|
Status: |
Resolved (515.1609)
This issue has been resolved.
|
|
|
// compile error: expected a constant expression mob/player/appearance_flags = parent_type::appearance_flags | LONG_GLIDE
// compiles mob/appearance_flags = 0 mob/player/appearance_flags = parent_type::appearance_flags | LONG_GLIDE
It would be nice if we didn't have to redefine built-ins to use the double colon.
|