diff Render.cpp @ 98:b9196a36b7c9

temporary fix(not lag)
author Ritor1
date Thu, 07 Feb 2013 15:25:44 +0600
parents bb449743ee81
children 2fb33d31ca0d
line wrap: on
line diff
--- a/Render.cpp	Thu Feb 07 13:54:32 2013 +0600
+++ b/Render.cpp	Thu Feb 07 15:25:44 2013 +0600
@@ -1624,7 +1624,7 @@
 	  v102.v103 = abs((int)pIndoorCamera->uMapGridCellZ - terrain_76D9C8[i]);
       v102.v104 = abs((int)pIndoorCamera->uMapGridCellX - terrain_76DBC8[i]);
 	  if ( pRenderer->pRenderD3D )//Ritor1: do comment to test
-        Render::DrawTerrainD3D(v111, 0, (int)&v102);//Render::RenderTerrainD3D();
+        Render::RenderTerrainD3D();//Render::DrawTerrainD3D(v111, 0, (int)&v102);
       else
         Render::DrawTerrainSW(v111, 0, (int)&v102);
     }