Skip to content

Commit

Permalink
[TIC80] Don't read uninitalized local variables in lua_ttri
Browse files Browse the repository at this point in the history
Fixes #4190
  • Loading branch information
CasualPokePlayer committed Jan 16, 2025
1 parent ec297bf commit 87a740d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Assets/dll/tic80.wbx.zst
Binary file not shown.
2 changes: 1 addition & 1 deletion waterbox/tic80/src/api/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 87a740d

Please sign in to comment.