X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ftrigger%2Fjumppads.qh;h=76d244da55b2d0b8e814b1d3574b53f293c01ff6;hp=4e8bf1809fd24840637abeb5a3aa27e31109bd41;hb=7c19cc7613de325a0e43236ee4e202fd6c9f7a7a;hpb=edf01df130d0d1877461561178b8833a9ab6051c diff --git a/qcsrc/common/triggers/trigger/jumppads.qh b/qcsrc/common/triggers/trigger/jumppads.qh index 4e8bf1809f..76d244da55 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qh +++ b/qcsrc/common/triggers/trigger/jumppads.qh @@ -1,5 +1,4 @@ -#ifndef T_JUMPPADS_H -#define T_JUMPPADS_H +#pragma once const float PUSH_ONCE = 1; const float PUSH_SILENT = 2; @@ -35,7 +34,7 @@ void trigger_push_use(entity this, entity actor, entity trigger); vector trigger_push_calculatevelocity(vector org, entity tgt, float ht); -void trigger_push_touch(entity this); +void trigger_push_touch(entity this, entity toucher); .vector dest; void trigger_push_findtarget(entity this); @@ -59,4 +58,3 @@ spawnfunc(target_push); spawnfunc(info_notnull); spawnfunc(target_position); #endif -#endif