From: Mario Date: Thu, 31 Dec 2015 12:00:21 +0000 (+1000) Subject: Fix warning X-Git-Tag: xonotic-v0.8.2~1350 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c22a6c32f7160124e1a2753282548fa3be38de8d;p=xonotic%2Fxonotic-data.pk3dir.git Fix warning --- diff --git a/qcsrc/common/turrets/util.qh b/qcsrc/common/turrets/util.qh index 71ba0662e..dd9efec6b 100644 --- a/qcsrc/common/turrets/util.qh +++ b/qcsrc/common/turrets/util.qh @@ -1,7 +1,6 @@ #ifndef TURRETS_UTIL_H #define TURRETS_UTIL_H -vector real_origin(entity ent); float shortangle_f(float ang1, float ang2); float anglemods(float v); float turret_tag_fire_update(); diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index bf2bb1be9..fd5c88889 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -1,7 +1,9 @@ #ifndef COMMON_UTIL_H #define COMMON_UTIL_H +#ifndef MENUQC vector real_origin(entity ent); +#endif // this returns a tempstring containing a copy of s with additional \n newlines added, it also replaces \n in the text with a real newline // NOTE: s IS allowed to be a tempstring