S
Spinningmind
Guest
Found what seems like a bug in GameMaker Studio 2:
is_real() returns false when passed an enum even though enums are treated as ints in every other case I can find.
The documentation for is_real says it "returns whether a given variable is a real number (single, double or integer) or not" and passing the enum to is_int64 returns true, so it seems is_real should be able to tell that it's an integer and respond correctly.
is_real() returns false when passed an enum even though enums are treated as ints in every other case I can find.
The documentation for is_real says it "returns whether a given variable is a real number (single, double or integer) or not" and passing the enum to is_int64 returns true, so it seems is_real should be able to tell that it's an integer and respond correctly.