]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/resources.qh
Use a constant to define the 'unlimited' resource limit
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / resources.qh
index 7e81f05dd8d135ebb01896a05c1e3f32562764be..8e33c649b3bf5e68e09b5050252f53f48002e8b7 100644 (file)
@@ -7,6 +7,7 @@
 
 /// \brief Unconditional maximum amount of resources the entity can have.
 const int RESOURCE_AMOUNT_HARD_LIMIT = 999;
+const int RESOURCE_LIMIT_NONE = -1;
 
 /// \brief Describes the available resource types.
 enum