X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fitem_key.qh;h=50be5f8dba7ef998c238dd68fbb531f6951da142;hb=ef7fe075803e8c36a64360e2c8e5d5d3a82cbd60;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..50be5f8db 100644 --- a/qcsrc/server/item_key.qh +++ b/qcsrc/server/item_key.qh @@ -1,3 +1,5 @@ +#pragma once + /** * Returns the bit ID of a key */ @@ -8,6 +10,7 @@ /** * list of key names. */ +#ifdef SVQC string item_keys_names[ITEM_KEY_MAX]; /** @@ -20,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