summaryrefslogtreecommitdiff
path: root/src-12_fix-food-supply-calculations.patch
blob: 15ee2065b79614ac9bfe0b91879250995233e360 (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
@@ -323,7 +323,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" );
     }
@@ -341,7 +341,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 ) {