- Fix previous commit
authorunc0rr
Sat, 09 May 2009 11:57:47 +0000
changeset 2041 9e0b5a6bcecf
parent 2040 7c366fc3c099
child 2042 905c554d62e6
- Fix previous commit - Allow up to 48 hedgehogs on bamboo plinko map
hedgewars/HHHandlers.inc
share/hedgewars/Data/Maps/BambooPlinko/map.cfg
--- a/hedgewars/HHHandlers.inc	Sat May 09 11:56:46 2009 +0000
+++ b/hedgewars/HHHandlers.inc	Sat May 09 11:57:47 2009 +0000
@@ -716,7 +716,8 @@
 	doStepHedgehogFree(Gear)
 else
 	begin
-	TeamGoneEffect(PHedgehog(Gear^.Hedgehog)^.Team^);
+	with PHedgehog(Gear^.Hedgehog)^ do
+		if Team^.hasGone then TeamGoneEffect(Team^);
 	doStepHedgehogDriven(Gear)
 	end
 end;
--- a/share/hedgewars/Data/Maps/BambooPlinko/map.cfg	Sat May 09 11:56:46 2009 +0000
+++ b/share/hedgewars/Data/Maps/BambooPlinko/map.cfg	Sat May 09 11:57:47 2009 +0000
@@ -1,1 +1,2 @@
-Bamboo
\ No newline at end of file
+Bamboo
+48
\ No newline at end of file