mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-22 15:41:57 +02:00
fix rx/ry arguments to toolBox
This commit is contained in:
parent
c07ac20d99
commit
9c45e99c36
@ -709,8 +709,8 @@ static int toolBox(lua_State *L)
|
||||
int tool = luaL_optint(L,5,0);
|
||||
float strength = luaL_optnumber(L,6,1.0f);
|
||||
int brushID = luaL_optint(L,7,BRUSH_CIRCLE);
|
||||
int rx = luaL_optint(L,5,0);
|
||||
int ry = luaL_optint(L,6,0);
|
||||
int rx = luaL_optint(L,8,0);
|
||||
int ry = luaL_optint(L,9,0);
|
||||
auto *lsi = GetLSI();
|
||||
Brush *brush = lsi->gameModel->GetBrushByID(brushID);
|
||||
if (!brush)
|
||||
|
Loading…
x
Reference in New Issue
Block a user