aboutsummaryrefslogtreecommitdiff
path: root/war.c
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-04-28 21:40:10 -0400
committerNathan Vance <nathav63@gmail.com>2015-04-28 21:40:10 -0400
commit7a57dde723730481514e93e2eef31da23ec35a30 (patch)
treeac396e93d8f61482d72f657b1e94b0f9101e81f0 /war.c
parentBug fixes (diff)
download7w-7a57dde723730481514e93e2eef31da23ec35a30.tar.gz
7w-7a57dde723730481514e93e2eef31da23ec35a30.tar.bz2
7w-7a57dde723730481514e93e2eef31da23ec35a30.zip
Fixed Rhodes not updating military might
Diffstat (limited to 'war.c')
-rw-r--r--war.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/war.c b/war.c
index 53a9239..20e6bcf 100644
--- a/war.c
+++ b/war.c
@@ -15,6 +15,9 @@ int military_might(int player)
sum = 0;
for(i = 0; built[i] != -1; i += 2)
sum += cards_getproduction(built[i], built[i+1])[SHIELD];
+ if(data_haswonderstage(player, 3, 2)) sum += 2;
+ if(data_haswonderstage(player, 3, 4)) sum += 1;
+ if(data_haswonderstage(player, 3, 5)) sum += 1;
return sum;
}
bgstack15