X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Ft_halflife.qc;h=f041dd39659aebd31a8b375b6e14d1fd51820f1c;hp=bb2254c977d91e4cd427b5d3e6c2c3fcfea115a0;hb=86c9dc7c3696c329496b06375c1e79fb407401ce;hpb=9531e6a07b13cbccf27113f1dcb6e5ccacc6fbb4 diff --git a/qcsrc/server/t_halflife.qc b/qcsrc/server/t_halflife.qc index bb2254c977..f041dd3965 100644 --- a/qcsrc/server/t_halflife.qc +++ b/qcsrc/server/t_halflife.qc @@ -1,4 +1,3 @@ - .float roomtype; .float radius; .float pitch; @@ -33,30 +32,3 @@ void spawnfunc_info_node() {} void spawnfunc_env_sound() {} void spawnfunc_light_spot() {} void spawnfunc_func_healthcharger() {} - - -void func_ladder_touch() -{ - if (!other.iscreature) - return; - if (other.vehicle_flags & VHF_ISVEHICLE) - return; - - EXACTTRIGGER_TOUCH; - - other.ladder_time = time + 0.1; - other.ladder_entity = self; -} - -void spawnfunc_func_ladder() -{ - EXACTTRIGGER_INIT; - self.touch = func_ladder_touch; -} - -void spawnfunc_func_water() -{ - EXACTTRIGGER_INIT; - self.touch = func_ladder_touch; -} -