DEADSOFTWARE

adaptive profiler history length (not really)
[d2df-sdl.git] / src / game / g_map.pas
index 2579d27fb143ab75fab9dab09da7e4d2a3a20c80..29750c92009aeb5a36a4bb13fd2601bf22c521ff 100644 (file)
@@ -200,7 +200,7 @@ var
 
 procedure g_Map_ProfilersBegin ();
 begin
-  if (profMapCollision = nil) then profMapCollision := TProfiler.Create('MAP COLLISION');
+  if (profMapCollision = nil) then profMapCollision := TProfiler.Create('MAP COLLISION', g_profile_history_size);
   profMapCollision.mainBegin(g_profile_collision);
   // create sections
   if g_profile_collision then