summaryrefslogtreecommitdiff
path: root/faction-03_fix-food-supply-calculations.patch
blob: 54e62ae098d906e43fbefd195703b2805a456752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/src/faction.cpp
+++ b/src/faction.cpp
@@ -292,7 +292,7 @@
 std::string faction::food_supply_text()
 {
     //Convert to how many days you can support the population
-    int val = food_supply / ( size * 288 );
+    int val = food_supply / ( size * 2500 );
     if( val >= 30 ) {
         return pgettext( "Faction food", "Overflowing" );
     }
@@ -310,7 +310,7 @@
 
 nc_color faction::food_supply_color()
 {
-    int val = food_supply / ( size * 288 );
+    int val = food_supply / ( size * 2500 );
     if( val >= 30 ) {
         return c_green;
     } else if( val >= 14 ) {