hedgewars/uWorld.pas
changeset 10304 7e40820b7ed6
parent 10300 f70b2fb8acab
child 10312 eda8d563f677
--- a/hedgewars/uWorld.pas	Sat Jun 14 07:12:22 2014 +0200
+++ b/hedgewars/uWorld.pas	Sat Jun 14 15:49:44 2014 +0200
@@ -1854,6 +1854,16 @@
         end
     end;
 
+// debug stuff
+if cViewLimitsDebug then
+    begin
+    r.x:= ViewLeftX;
+    r.y:= ViewTopY;
+    r.w:= ViewWidth;
+    r.h:= ViewHeight;
+    DrawRect(r, 255, 0, 0, 128, false);
+    end;
+
 isFirstFrame:= false
 end;