# HG changeset patch
# User sheepluva
# Date 1288473941 -7200
# Node ID afae5a3b8424a056712d0a605da35701ed20ba43
# Parent  1ffb84b3823d6b41689dd10729a1b7c72aac0917
Portal: don't port RCPlanes for now, they are too wide anyway :P

diff -r 1ffb84b3823d -r afae5a3b8424 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