mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
zangle should be shifted down by ANGLETOFINESHIFT if we're to use FINETANGENT on it
This commit is contained in:
parent
4edeeb6953
commit
9296aaa28c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue