Portal: don't port RCPlanes for now, they are too wide anyway :P
authorsheepluva
Sat, 30 Oct 2010 23:25:41 +0200
changeset 4026 afae5a3b8424
parent 4024 1ffb84b3823d
child 4027 6e2bff0c173c
Portal: don't port RCPlanes for now, they are too wide anyway :P
hedgewars/GSHandlers.inc
--- a/hedgewars/GSHandlers.inc	Sat Oct 30 21:57:54 2010 +0200
+++ b/hedgewars/GSHandlers.inc	Sat Oct 30 23:25:41 2010 +0200
@@ -3387,7 +3387,8 @@
             break;
 
         // don't port portals or other gear that wouldn't make sense
-        if (iterator^.Kind = gtPortal) or (iterator^.Kind = gtRope) or (iterator^.PortalCounter > 20) then
+        if (iterator^.Kind = gtPortal) or (iterator^.Kind = gtRope)
+        or (iterator^.Kind = gtRCPlane) or (iterator^.PortalCounter > 20) then
             continue;
 
         // don't port hogs on rope