DEADSOFTWARE

cosmetix
authorKetmar Dark <ketmar@ketmar.no-ip.org>
Fri, 18 Aug 2017 18:02:42 +0000 (21:02 +0300)
committerKetmar Dark <ketmar@ketmar.no-ip.org>
Fri, 18 Aug 2017 18:31:32 +0000 (21:31 +0300)
src/game/z_aabbtree.pas

index 5ebc8851c5a087810ba212172b6c5cfbe9e44afb..32e12bf38fdf862c2955e177f24cbcf5dcb69782 100644 (file)
@@ -1126,7 +1126,7 @@ end;
 // returns tree node if visitor says stop or -1
 function TDynAABBTree.visit (checker: TVisitCheckerCB; visitor: TQueryOverlapCB; tagmask: Integer=-1): Integer;
 var
-  stack: array [0..255] of Integer; // stack with the nodes to visit
+  stack: array [0..2048] of Integer; // stack with the nodes to visit
   bigstack: array of Integer = nil;
   sp: Integer = 0;