[TIC80] Don't read uninitalized local variables in lua_ttri
Fixes #4190
This commit is contained in:
parent
ec297bf215
commit
87a740d09a
Binary file not shown.
|
@ -539,7 +539,7 @@ static s32 lua_ttri(lua_State* lua)
|
|||
}
|
||||
}
|
||||
|
||||
float z[3];
|
||||
float z[3] = {0, 0, 0};
|
||||
bool depth = false;
|
||||
|
||||
if(top == 17)
|
||||
|
|
Loading…
Reference in New Issue