Fixed bug in Java AI
authorSam Moore <[email protected]>
Fri, 16 Mar 2012 04:16:51 +0000 (12:16 +0800)
committerSam Moore <[email protected]>
Fri, 16 Mar 2012 04:16:51 +0000 (12:16 +0800)
In KillUnit:
I was using Vector.remove(Object), but I realised that this doesn't compare
references, instead it uses "compareTo". Which meant the AI deleted every unit
as soon as the first one died. Fun.

I discovered gcj, which lets you compile a Java program.
This is much easier than trying to convince the java interpreter to run.


No differences found

UCC git Repository :: git.ucc.asn.au