diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c index 2af290bc23..10373e1cc9 100644 --- a/apps/plugins/superdom.c +++ b/apps/plugins/superdom.c @@ -1951,7 +1951,7 @@ static void computer_allocate(void) } if(superdom_settings.compdiff>=AI_BUILD_INDS_FARMS_LEVEL && compres.cash>=PRICE_FACTORY+100) { - int i = 0; + int cnt = 0; do { if(compres.farms=PRICE_FACTORY + 100 && i++ < 3); + } while(compres.cash>=PRICE_FACTORY + 100 && cnt++ < 3); } /* AI will buy nukes first if possible */ if(compres.cash > PRICE_NUKE + PRICE_TANK && superdom_settings.compdiff>=AI_BUILD_NUKES_LEVEL) diff --git a/docs/CREDITS b/docs/CREDITS index a5997dcd9d..cdbb119db9 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -724,7 +724,7 @@ Pierluigi Vicinanza Matteo Italia Evan Kenny Medu Hedan - +Uwe Schächterle The libmad team The wavpack team The FFmpeg team