--- a/hedgewars/CCHandlers.inc Sat Nov 21 15:04:42 2009 +0000
+++ b/hedgewars/CCHandlers.inc Sat Nov 21 17:24:44 2009 +0000
@@ -138,7 +138,7 @@
val(s, Gear^.Health);
TryDo(Gear^.Health > 0, 'Invalid hedgehog health', true);
PHedgehog(Gear^.Hedgehog)^.Team:= CurrentTeam;
- CurrentHedgehog^.AmmoStore:= TeamsCount - 1; // FIXME HACK to get ammostores work
+ CurrentHedgehog^.AmmoStore:= ClansCount - 1; // FIXME HACK to get ammostores work
CurrentHedgehog^.Gear:= Gear;
CurrentHedgehog^.Name:= id;
inc(HedgehogsNumber)