diff mm7_5.cpp @ 52:0f4ed4f0f472

BLV minimap: 1/3
author Nomad
date Wed, 24 Oct 2012 17:02:44 +0200
parents 4211cceb3813
children 1f161a887c69 41cbaabde2cb
line wrap: on
line diff
--- a/mm7_5.cpp	Tue Oct 23 23:40:55 2012 +0200
+++ b/mm7_5.cpp	Wed Oct 24 17:02:44 2012 +0200
@@ -12110,14 +12110,14 @@
   if ( bSolidFill )
   {
     for ( i = v3->y; (signed int)i <= v3->w; ++i )
-      pRenderer->FillRect(v3->x, i, v3->z, i, v4);
-  }
-  else
-  {
-    pRenderer->FillRect(v3->x, v3->y, v3->z, v3->y, v4);
-    pRenderer->FillRect(v3->z, v3->y, v3->z, v3->w, v4);
-    pRenderer->FillRect(v3->z, v3->w, v3->x, v3->w, v4);
-    pRenderer->FillRect(v3->x, v3->w, v3->x, v3->y, v4);
+      pRenderer->Line2D(v3->x, i, v3->z, i, v4);
+  }
+  else
+  {
+    pRenderer->Line2D(v3->x, v3->y, v3->z, v3->y, v4);
+    pRenderer->Line2D(v3->z, v3->y, v3->z, v3->w, v4);
+    pRenderer->Line2D(v3->z, v3->w, v3->x, v3->w, v4);
+    pRenderer->Line2D(v3->x, v3->w, v3->x, v3->y, v4);
   }
   pRenderer->EndScene();
 }