Commit:     aeb20e839e43404f15282f4def0163ddc33db643

Trac URL:   
http://developer.wz2100.net/changeset/aeb20e839e43404f15282f4def0163ddc33db643

Author:     Per Inge Mathisen <[email protected]>
Date:       Wed Nov  3 19:46:24 2010 +0100

Make AI players able to produce more than one thing in each factory again.

 src/structure.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/structure.c b/src/structure.c
index 540d0d9..de90775 100644
--- a/src/structure.c
+++ b/src/structure.c
@@ -3558,6 +3558,10 @@ static void aiUpdateStructure(STRUCTURE *psStructure, 
bool isMission)
                                {
                                        doNextProduction(psStructure, 
(DROID_TEMPLATE *)pSubject);
                                }
+                               else if (myResponsibility(psStructure->player))
+                               {
+                                       cancelProduction(psStructure, 
ModeQueue);
+                               }
                        }
                }
        }


-------------------------


------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to