X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fitem_key.qh;h=4a2acd85b7d1c015d8303f3c4d120b4b25178292;hb=82fbcf3f3bac024563fee8ec8056df1ec1be2d70;hp=99b2b1d5c3579134b638f10896f1a6dd392146cf;hpb=845401fd312c66c059aaee1772ac5d79555ab4fc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/item_key.qh b/qcsrc/server/item_key.qh index 99b2b1d5c..4a2acd85b 100644 --- a/qcsrc/server/item_key.qh +++ b/qcsrc/server/item_key.qh @@ -1,3 +1,6 @@ +#ifndef ITEM_KEY +#define ITEM_KEY + /** * Returns the bit ID of a key */ @@ -8,6 +11,7 @@ /** * list of key names. */ +#ifdef SVQC string item_keys_names[ITEM_KEY_MAX]; /** @@ -20,4 +24,6 @@ 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 +#endif