From: Mario Date: Sun, 27 Mar 2016 11:44:25 +0000 (+1000) Subject: Move use1 definition to util (should fix compilation test unit) X-Git-Tag: xonotic-v0.8.2~945^2~6 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=faabb9816d6a3ec67230da0bd37dd4f59abf47c7;p=xonotic%2Fxonotic-data.pk3dir.git Move use1 definition to util (should fix compilation test unit) --- diff --git a/qcsrc/common/triggers/subs.qh b/qcsrc/common/triggers/subs.qh index 8c62a01c5..6a8442613 100644 --- a/qcsrc/common/triggers/subs.qh +++ b/qcsrc/common/triggers/subs.qh @@ -37,8 +37,6 @@ #endif -.void(entity this, entity actor, entity trigger) use1; - void SUB_SetFade (entity ent, float when, float fading_time); void SUB_VanishOrRemove (entity ent); diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index 7bc867533..36bd8b59d 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -2,6 +2,8 @@ #define COMMON_UTIL_H #ifndef MENUQC +.void(entity this, entity actor, entity trigger) use1; + vector real_origin(entity ent); #endif