From: Mario Date: Thu, 5 Feb 2015 11:17:13 +0000 (+1100) Subject: Fix compile X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4bcea789cd8fb2c5046b4d4483b1d9c5f8674c41;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- diff --git a/qcsrc/server/jeff.qc b/qcsrc/server/jeff.qc index 6b967bca6..e422c4ce5 100644 --- a/qcsrc/server/jeff.qc +++ b/qcsrc/server/jeff.qc @@ -1,6 +1,7 @@ // Modded announcer and random functions for the Jeff Resurrection servers #ifdef JEFF #include "../common/buffs.qh" +#include "miscfunctions.qh" var float autocvar_jeff_announce_eagleeye_distance = 32768; var float autocvar_jeff_announce_rocketscientist_count = 5; diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh index e096e0c4c..fc4dd73c6 100644 --- a/qcsrc/server/miscfunctions.qh +++ b/qcsrc/server/miscfunctions.qh @@ -101,6 +101,8 @@ float tracebox_hits_box(vector start, vector mi, vector ma, vector end, vector t void traceline_antilag (entity source, vector v1, vector v2, float nomonst, entity forent, float lag); +float trace_hits_box(vector start, vector end, vector thmi, vector thma); + void WarpZone_crosshair_trace(entity pl); void WarpZone_traceline_antilag (entity source, vector v1, vector v2, float nomonst, entity forent, float lag);