This might be dumb, but whatever
This commit is contained in:
parent
41fe113af4
commit
4430835a71
|
@ -432,7 +432,6 @@ static int lib_pAproxDistance(lua_State *L)
|
||||||
fixed_t dx = luaL_checkfixed(L, 1);
|
fixed_t dx = luaL_checkfixed(L, 1);
|
||||||
fixed_t dy = luaL_checkfixed(L, 2);
|
fixed_t dy = luaL_checkfixed(L, 2);
|
||||||
//HUDSAFE
|
//HUDSAFE
|
||||||
LUA_Deprecated(L, "P_AproxDistance", "FixedHypot");
|
|
||||||
lua_pushfixed(L, R_PointToDist2(0, 0, dx, dy));
|
lua_pushfixed(L, R_PointToDist2(0, 0, dx, dy));
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue