Need this too to set it to last hog for current switch alg
authornemo
Sun, 14 Feb 2010 21:57:47 +0000
changeset 2808 8f48b538d591
parent 2807 cd131de34d3d
child 2809 b8956af350c1
Need this too to set it to last hog for current switch alg
hedgewars/CCHandlers.inc
--- a/hedgewars/CCHandlers.inc	Sun Feb 14 21:53:17 2010 +0000
+++ b/hedgewars/CCHandlers.inc	Sun Feb 14 21:57:47 2010 +0000
@@ -156,6 +156,7 @@
 	CurrentHedgehog^.AmmoStore:= ClansCount - 1; // FIXME HACK to get ammostores work
 	CurrentHedgehog^.Gear:= Gear;
 	CurrentHedgehog^.Name:= id;
+    CurrHedgehog:= HedgehogsNumber;
 	inc(HedgehogsNumber)
 	end
 end;