From af93005a11d8eac74034125a63cb830a1cc345c7 Mon Sep 17 00:00:00 2001 From: Lyberta Date: Mon, 28 Aug 2017 21:50:02 +0300 Subject: [PATCH] URS: Start RESOURCE_* constants from 1. --- qcsrc/server/resources.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/resources.qh b/qcsrc/server/resources.qh index 5785e2704..51cc78bd6 100644 --- a/qcsrc/server/resources.qh +++ b/qcsrc/server/resources.qh @@ -6,7 +6,7 @@ const int RESOURCE_AMOUNT_HARD_LIMIT = 999; /// \brief Describes the available resource types. enum { - RESOURCE_HEALTH, ///< Health. + RESOURCE_HEALTH = 1, ///< Health. RESOURCE_ARMOR, ///< Armor. RESOURCE_SHELLS, ///< Shells (used by shotgun). RESOURCE_BULLETS, ///< Bullets (used by machinegun and rifle) -- 2.39.2