Increase AMMO_INFINITE to 100
authornemo
Sun, 25 Oct 2009 16:51:20 +0000
changeset 2588 da9e986713d4
parent 2587 0dfa56a8513c
child 2589 4329597c85c8
Increase AMMO_INFINITE to 100
hedgewars/uConsts.pas
--- a/hedgewars/uConsts.pas	Sun Oct 25 16:35:09 2009 +0000
+++ b/hedgewars/uConsts.pas	Sun Oct 25 16:51:20 2009 +0000
@@ -319,7 +319,7 @@
 	ammoprop_NotBorder    = $00000800;
 	ammoprop_Utility      = $00001000;
 
-	AMMO_INFINITE = 9;
+	AMMO_INFINITE = 100;
 
 	EXPLAllDamageInRadius = $00000001;
 	EXPLAutoSound         = $00000002;
@@ -1586,7 +1586,7 @@
 );
 			
 
-var CountTexz: array[1..9] of PTexture;
+var CountTexz: array[1..Pred(AMMO_INFINITE)] of PTexture;
 
 implementation