]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix warning
authorMario <mario@smbclan.net>
Thu, 31 Dec 2015 12:00:21 +0000 (22:00 +1000)
committerMario <mario@smbclan.net>
Thu, 31 Dec 2015 12:00:21 +0000 (22:00 +1000)
qcsrc/common/turrets/util.qh
qcsrc/common/util.qh

index 71ba0662e6f4fdfd87fb0cef48eb0b71ea21eb02..dd9efec6b2b9f3b668c6cdf18de3f6598bb3509c 100644 (file)
@@ -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();
index bf2bb1be943f01c58bf0e0d58c99718f1e2999c5..fd5c888893959c10879ce42cfab80248e54e4853 100644 (file)
@@ -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