Don't use writeln in ai thread (from rdd4035ee0f12), this causes crashes. Fixes issue 617.
authorunc0rr
Sat, 27 Apr 2013 00:09:50 +0400
changeset 8938 c321264439c6
parent 8937 72038f52693b
child 8939 b26aaf28c920
Don't use writeln in ai thread (from rdd4035ee0f12), this causes crashes. Fixes issue #617.
hedgewars/uAI.pas
--- a/hedgewars/uAI.pas	Wed Apr 24 10:38:28 2013 -0400
+++ b/hedgewars/uAI.pas	Sat Apr 27 00:09:50 2013 +0400
@@ -366,7 +366,6 @@
     switchImmediatelyAvailable: boolean;
     Actions: TActions;
 begin
-AddFileLog('Think thread started');
 dmgMod:= 0.01 * hwFloat2Float(cDamageModifier) * cDamagePercent;
 StartTicks:= GameTicks;
 currHedgehogIndex:= CurrentTeam^.CurrHedgehog;