]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable matrix if XONOTIC isn't defined
authorMario <mario@smbclan.net>
Sat, 18 Mar 2017 03:26:08 +0000 (13:26 +1000)
committerMario <mario@smbclan.net>
Sat, 18 Mar 2017 03:26:08 +0000 (13:26 +1000)
qcsrc/lib/_all.inc

index 65dc080c2ca7a103779918b04ad3cabb25718e81..136c4e7f6ffb4ff7b7dc4d56a50c62f2478c15db 100644 (file)
@@ -122,7 +122,9 @@ void    isnt_bool(float this) { print(ftos(this)); }
 #include "vector.qh"
 #include "yenc.qh"
 
-#include "matrix/_mod.inc"
+#if XONOTIC
+       #include "matrix/_mod.inc"
+#endif
 
 #ifndef SVQC
 #define objerror_safe(e)