DEADSOFTWARE

removed "potentially visible panels" code in favor of grid
[d2df-sdl.git] / src / game / g_game.pas
index 26bca25967629d343cc17ce9cdd2867fef29a0fc..96c9856d3e91ead2ac9bff6c59cc86de6c79db8c 100644 (file)
@@ -2601,7 +2601,6 @@ begin
 
   glTranslatef(-x, -y, 0);
 
-  g_Map_BuildPVP(sX, sY, sX+sWidth-1, sY+sHeight-1);
   g_Map_DrawPanels(sX, sY, sWidth, sHeight, PANEL_BACK);
   g_Map_DrawPanels(sX, sY, sWidth, sHeight, PANEL_STEP);
   g_Items_Draw();
@@ -2623,7 +2622,6 @@ begin
     g_Monsters_DrawHealth();
     g_Player_DrawHealth();
   end;
-  g_Map_ResetPVP();
 
   glPopMatrix();
 end;
@@ -2720,8 +2718,6 @@ begin
 
   glTranslatef(a, b+p.IncCam, 0);
 
-  g_Map_BuildPVP(sX, sY, sX+sWidth-1, sY+sHeight-1);
-
   g_Map_DrawPanels(sX, sY, sWidth, sHeight, PANEL_BACK);
   g_Map_DrawPanels(sX, sY, sWidth, sHeight, PANEL_STEP);
   g_Items_Draw();
@@ -2848,7 +2844,6 @@ begin
   }
 
   glPopMatrix();
-  g_Map_ResetPVP();
 
   p.DrawPain();
   p.DrawPickup();