X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fitem_key.qh;h=50be5f8dba7ef998c238dd68fbb531f6951da142;hb=2f215c603bf1b4dd44b9d166180f535c88602e9f;hp=f0569291d8d70eff2348e8b1cbe4b8bc5305b738;hpb=f7587ab3e768db3977648bfe532e39fe445bb8c0;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/item_key.qh b/qcsrc/server/item_key.qh index f0569291d..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 */ @@ -10,11 +12,10 @@ */ #ifdef SVQC string item_keys_names[ITEM_KEY_MAX]; -#endif /** * Use keys from p on l. - * Returns TRUE if any new keys were given, FALSE otherwise. + * Returns true if any new keys were given, false otherwise. */ float item_keys_usekey(entity l, entity p); @@ -22,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