]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/item_key.qh
Fix compile
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / item_key.qh
index 4ec3296df32aecdccebff8a7642541021d2cca61..50be5f8dba7ef998c238dd68fbb531f6951da142 100644 (file)
@@ -1,5 +1,4 @@
-#ifndef ITEM_KEY
-#define ITEM_KEY
+#pragma once
 
 /**
  * Returns the bit ID of a key
@@ -11,6 +10,7 @@
 /**
  * list of key names.
  */
+#ifdef SVQC
 string item_keys_names[ITEM_KEY_MAX];
 
 /**
@@ -23,4 +23,4 @@ float item_keys_usekey(entity l, entity p);
  * Returns a string with a comma separated list of key names, as specified in keylist.
  */
 string item_keys_keylist(float keylist);
-#endif
\ No newline at end of file
+#endif