Skip to content

Commit

Permalink
rect angle can be lower zero
Browse files Browse the repository at this point in the history
  • Loading branch information
d954mas committed Jul 29, 2018
1 parent 5a1b145 commit e817616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drawpixels/src/drawpixels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ static int draw_filled_rect(lua_State* L) {
{
a = luaL_checknumber(L, 9);
}
uint32_t angle = 0;
int angle = 0;
if (lua_isnumber(L, 10) == 1)
{
angle = luaL_checknumber(L, 10);
Expand Down

0 comments on commit e817616

Please sign in to comment.