From: Sam Moore Date: Fri, 16 Mar 2012 04:16:51 +0000 (+0800) Subject: Fixed bug in Java AI X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;ds=sidebyside;h=35eb2149307a55d6ae145d748bae83131dcba0e3;hp=35eb2149307a55d6ae145d748bae83131dcba0e3;p=progcomp2012.git Fixed bug in Java AI 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. ---