summaryrefslogtreecommitdiff
path: root/src-12_fix-food-supply-calculations.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src-12_fix-food-supply-calculations.patch')
-rw-r--r--src-12_fix-food-supply-calculations.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/src-12_fix-food-supply-calculations.patch b/src-12_fix-food-supply-calculations.patch
new file mode 100644
index 0000000..15ee206
--- /dev/null
+++ b/src-12_fix-food-supply-calculations.patch
@@ -0,0 +1,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 ) {