Struct variable declaration crash
-
Hello i don't know if you know, but in fuze we can declare variable like that :
int a,b,c,d = 45
This way work perfectely, but if you declare variable with this way in a struct and after you create a instance of your struct object with this code :
struct TEST int a,b,c,d = 45 endstruct TEST test
and you run the program ,you have a
The software was closed because an error occurred.
To fix.
-
Little rectification :
If you delare the variable but you don't set value there is no crash
-
RErectification :
I had the bug because i set in my struct :
struct TEST int x,y = gheight()/2 endstruct
This bug occured because i call functions in the struct
So, to fix.
-
Thank you for the report! This will be addressed in the next patch.