From 307e8f220930347843afd02c8273e6327a213bce Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Mon, 17 Jul 2023 23:16:38 +0200 Subject: [PATCH] Removing the depraction messages for "P_TeleportMove" and "P_AproxDistance" kinda unneeded right now and just clog the console --- src/lua_baselib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua_baselib.c b/src/lua_baselib.c index d3f4b3ffc..e59bc2416 100644 --- a/src/lua_baselib.c +++ b/src/lua_baselib.c @@ -238,7 +238,7 @@ static int lib_pAproxDistance(lua_State *L) fixed_t dx = luaL_checkfixed(L, 1); fixed_t dy = luaL_checkfixed(L, 2); //HUDSAFE - LUA_Deprecated(L, "P_AproxDistance", "FixedHypot"); + //LUA_Deprecated(L, "P_AproxDistance", "FixedHypot"); lua_pushfixed(L, FixedHypot(dx, dy)); return 1; } @@ -1026,7 +1026,7 @@ static int lib_pTeleportMove(lua_State *L) NOHUD if (!thing) return LUA_ErrInvalid(L, "mobj_t"); - LUA_Deprecated(L, "P_TeleportMove", "P_SetOrigin\" or \"P_MoveOrigin"); + //LUA_Deprecated(L, "P_TeleportMove", "P_SetOrigin\" or \"P_MoveOrigin"); lua_pushboolean(L, P_MoveOrigin(thing, x, y, z)); LUA_PushUserdata(L, tmthing, META_MOBJ); P_SetTarget(&tmthing, ptmthing);