]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
progs: Extend USEODE ifdef to cover defines too
authorCloudwalk <cloudwalk009@gmail.com>
Fri, 30 Jul 2021 17:56:47 +0000 (13:56 -0400)
committerCloudwalk <cloudwalk009@gmail.com>
Fri, 30 Jul 2021 17:56:47 +0000 (13:56 -0400)
progs.h

diff --git a/progs.h b/progs.h
index 25ee3988c9e3aaa1e824bc190a029abebd6e85cb..79b5fc791c5e7ecbb7c3e3bb40c75640b1984b73 100644 (file)
--- a/progs.h
+++ b/progs.h
@@ -25,6 +25,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define ENTITYGRIDAREAS 16
 #define MAX_ENTITYCLUSTERS 16
 
+#ifdef USEODE
 #define        GEOMTYPE_NONE      -1
 #define        GEOMTYPE_SOLID      0
 #define        GEOMTYPE_BOX            1
@@ -57,7 +58,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #define ODEFUNC_FORCE       3
 #define ODEFUNC_TORQUE      4
 
-#ifdef USEODE
 typedef struct edict_odefunc_s
 {
        int type;