This commit is contained in:
Alug committed 2024-11-30 21:46:56 +01:00
1 parent c3e2a71724
commit 7ebbc35f52
1 file changed
+1 -1
+1 -1
View File
@@ -489,7 +489,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);