hedgewars/GSHandlers.inc
changeset 4026 afae5a3b8424
parent 4024 1ffb84b3823d
child 4034 634a8c8682de
child 4035 3ed9573bcf5e
--- 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