Skip to content
Snippets Groups Projects
Commit 9296aaa2 authored by Monster Iestyn's avatar Monster Iestyn
Browse files

zangle should be shifted down by ANGLETOFINESHIFT if we're to use FINETANGENT on it

parent 4edeeb69
No related branches found
No related tags found
No related merge requests found
......@@ -1344,7 +1344,7 @@ static int slope_set(lua_State *L)
}
case slope_zangle: // zangle
slope->zangle = luaL_checkangle(L, 3);
slope->zdelta = FINETANGENT(slope->zangle);
slope->zdelta = FINETANGENT(slope->zangle>>ANGLETOFINESHIFT);
P_CalculateSlopeNormal(slope);
break;
case slope_xydirection: // xydirection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment