From: Mario Date: Tue, 14 Jul 2020 07:32:26 +0000 (+1000) Subject: Fix compilation unit test X-Git-Tag: xonotic-v0.8.5~829^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4e265c4d6bcfefa8ac67c54a7ec06f7dcdc16b86;p=xonotic%2Fxonotic-data.pk3dir.git Fix compilation unit test --- diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh index e94ee9c6c..534299f12 100644 --- a/qcsrc/server/miscfunctions.qh +++ b/qcsrc/server/miscfunctions.qh @@ -39,6 +39,12 @@ void soundtoat(float _dest, entity e, vector o, float chan, string samp, float v void droptofloor(entity this); +float trace_hits_box_1d(float end, float thmi, float thma); + +float trace_hits_box(vector start, vector end, vector thmi, vector thma); + +float tracebox_hits_box(vector start, vector mi, vector ma, vector end, vector thmi, vector thma); + void attach_sameorigin(entity e, entity to, string tag); void crosshair_trace(entity pl);