Double increase collision array size
authorunc0rr
Tue, 06 May 2008 15:00:03 +0000
changeset 906 1cc10dde304c
parent 905 57fec00e1b66
child 907 a5b0b93a39c8
Double increase collision array size
hedgewars/uCollisions.pas
--- a/hedgewars/uCollisions.pas	Tue May 06 14:47:45 2008 +0000
+++ b/hedgewars/uCollisions.pas	Tue May 06 15:00:03 2008 +0000
@@ -52,7 +52,7 @@
                        cGear: PGear;
                        end;
 
-const MAXRECTSINDEX = 255;
+const MAXRECTSINDEX = 511;
 var Count: Longword = 0;
     cinfos: array[0..MAXRECTSINDEX] of TCollisionEntry;
     ga: TGearArray;