As i can see there is a problem with float variables created with enum and used as a function parameter
Ex:
PHP Code:
enum testStruct { Float:sOrigin[3] }
stock testFunc(Float:origin[3])
new data[testStruct]
data[sOrigin] = Float:{0.1,0.2,0.3} // ok
testFunc(data[sOrigin]) // error 047: array sizes do not match, or destination array is too small
Is this a known issue?
And also fooling compiler with this:
PHP Code:
new Float:origin[3]
origin = data[sOrigin]
testFunc(origin)
gives me
Code:
Run time error 5: memory access