This commit is contained in:
Alug committed 2024-11-30 21:54:52 +01:00
1 parent 43f8a0213a
commit 9e2a48cae1
1 file changed
+1 -1
+1 -1
View File
@@ -503,7 +503,7 @@ static int libd_getSpritePatch(lua_State *L)
angle = (angle & 7); // modulus angle by 8
// rotsprite?????
if (lua_isnumber(L, 4) && (cv_spriteroll.value))
if (lua_isnumber(L, 4) && cv_sloperoll.value)
{
angle_t rollangle = luaL_checkangle(L, 4);
INT32 rot = R_GetRollAngle(rollangle);