]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
WarpZoneLib_BoxTouchesBrush: fix whitespace
authorbones_was_here <bones_was_here@xonotic.au>
Thu, 23 Feb 2023 23:08:59 +0000 (09:08 +1000)
committerbones_was_here <bones_was_here@xonotic.au>
Thu, 18 May 2023 15:35:21 +0000 (01:35 +1000)
qcsrc/lib/warpzone/common.qc

index 0c85d4a088522cce87bbd09fa6b7a2f95ff4f60f..d7cb5632b40299374fc28a6027bc7f47b5a28532 100644 (file)
@@ -137,21 +137,21 @@ float WarpZoneLib_BoxTouchesBrush_Recurse()
 
 float WarpZoneLib_BoxTouchesBrush(vector mi, vector ma, entity e, entity ig)
 {
-    float f, s;
+       float f, s;
 
-    if(!e.modelindex || e.warpzone_isboxy)
-        return 1;
+       if(!e.modelindex || e.warpzone_isboxy)
+               return 1;
 
-    s = e.solid;
-    e.solid = SOLID_BSP;
-    WarpZoneLib_BoxTouchesBrush_mins = mi;
-    WarpZoneLib_BoxTouchesBrush_maxs = ma;
-    WarpZoneLib_BoxTouchesBrush_ent = e;
-    WarpZoneLib_BoxTouchesBrush_ignore = ig;
-    f = WarpZoneLib_BoxTouchesBrush_Recurse();
-    e.solid = s;
+       s = e.solid;
+       e.solid = SOLID_BSP;
+       WarpZoneLib_BoxTouchesBrush_mins = mi;
+       WarpZoneLib_BoxTouchesBrush_maxs = ma;
+       WarpZoneLib_BoxTouchesBrush_ent = e;
+       WarpZoneLib_BoxTouchesBrush_ignore = ig;
+       f = WarpZoneLib_BoxTouchesBrush_Recurse();
+       e.solid = s;
 
-    return f;
+       return f;
 }
 
 entity WarpZone_Find(vector mi, vector ma)