]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Move the hard resource limit constant to common
authorMario <mario@smbclan.net>
Sat, 16 Jun 2018 17:28:57 +0000 (03:28 +1000)
committerMario <mario@smbclan.net>
Sat, 16 Jun 2018 17:28:57 +0000 (03:28 +1000)
qcsrc/client/resources.qh
qcsrc/common/resources.qh
qcsrc/server/resources.qh

index d1079e7e8263bf2c1de0c8e152a30572c01252f1..196ccf05dbaa1c87b150edddcea48b6ec100a2a2 100644 (file)
@@ -6,9 +6,6 @@
 
 #include <common/resources.qh>
 
-/// \brief Unconditional maximum amount of resources the entity can have.
-const int RESOURCE_AMOUNT_HARD_LIMIT = 999;
-
 // ============================ Public API ====================================
 
 /// \brief Returns the current amount of resource the given entity has.
index a562292b40a5c5bcd7f00d779f647c2a3bb87357..7e81f05dd8d135ebb01896a05c1e3f32562764be 100644 (file)
@@ -5,6 +5,9 @@
 /// \author Lyberta
 /// \copyright GNU GPLv2 or any later version.
 
+/// \brief Unconditional maximum amount of resources the entity can have.
+const int RESOURCE_AMOUNT_HARD_LIMIT = 999;
+
 /// \brief Describes the available resource types.
 enum
 {
index 47ed972d28576aaa1d3e6611d408666b9e955d03..e35346c19c8dbfd5359a15c3794841029cc6939d 100644 (file)
@@ -7,9 +7,6 @@
 
 #include <common/resources.qh>
 
-/// \brief Unconditional maximum amount of resources the entity can have.
-const int RESOURCE_AMOUNT_HARD_LIMIT = 999;
-
 // ============================ Public API ====================================
 
 /// \brief Returns the maximum amount of the given resource.