]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
URS: Start RESOURCE_* constants from 1.
authorLyberta <lyberta@lyberta.net>
Mon, 28 Aug 2017 18:50:02 +0000 (21:50 +0300)
committerLyberta <lyberta@lyberta.net>
Mon, 28 Aug 2017 18:50:02 +0000 (21:50 +0300)
qcsrc/server/resources.qh

index 5785e2704bc1cfed475e49d7e4101de3e90173ea..51cc78bd601e835c5ce6b716e8ef632d98ed4a99 100644 (file)
@@ -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)