From 2480382b6b480aaf0735a3787820aaf6754a7451 Mon Sep 17 00:00:00 2001 From: MonsterIestyn Date: Wed, 11 Feb 2015 20:51:47 +0000 Subject: [PATCH] remove camera_t's "relativex" option from Lua stuff, it's unused anyway (todo: possibly remove said variable from existence altogether? Some disabled code still uses it though) git-svn-id: https://code.orospakr.ca/svn/srb2/trunk@9036 6de4a73c-47e2-0310-b8c1-93d6ecd3f8cd --- src/lua_hudlib.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lua_hudlib.c b/src/lua_hudlib.c index 19390d50d..e0132828c 100644 --- a/src/lua_hudlib.c +++ b/src/lua_hudlib.c @@ -137,7 +137,6 @@ enum cameraf { camera_ceilingz, camera_radius, camera_height, - camera_relativex, camera_momx, camera_momy, camera_momz @@ -158,7 +157,6 @@ static const char *const camera_opt[] = { "ceilingz", "radius", "height", - "relativex", "momx", "momy", "momz", @@ -312,9 +310,6 @@ static int camera_get(lua_State *L) case camera_height: lua_pushinteger(L, cam->height); break; - case camera_relativex: - lua_pushinteger(L, cam->relativex); - break; case camera_momx: lua_pushinteger(L, cam->momx); break;