From 3447904541eb96af9250ede19f5458c89b527ca5 Mon Sep 17 00:00:00 2001 From: Zain Aamer Date: Tue, 6 Aug 2019 12:32:24 -0500 Subject: [PATCH] Clearscope Index() For Vertex, Side, Line and Sector --- wadsrc/static/zscript/mapdata.zs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wadsrc/static/zscript/mapdata.zs b/wadsrc/static/zscript/mapdata.zs index 4a1154feb..083e2161e 100644 --- a/wadsrc/static/zscript/mapdata.zs +++ b/wadsrc/static/zscript/mapdata.zs @@ -32,7 +32,7 @@ struct SectorPortal native play struct Vertex native play { native readonly Vector2 p; - native int Index(); + native clearscope int Index(); } struct Side native play @@ -93,7 +93,7 @@ struct Side native play native clearscope Vertex V1(); native clearscope Vertex V2(); - native int Index(); + native clearscope int Index(); int GetUDMFInt(Name nm) { @@ -174,7 +174,7 @@ struct Line native play native bool isVisualPortal(); native Line getPortalDestination(); native int getPortalAlignment(); - native int Index(); + native clearscope int Index(); native bool Activate(Actor activator, int side, int type); native bool RemoteActivate(Actor activator, int side, int type, Vector3 pos); @@ -362,7 +362,7 @@ struct Sector native play native readonly int sectornum; - native int Index(); + native clearscope int Index(); native double, Sector, F3DFloor NextHighestCeilingAt(double x, double y, double bottomz, double topz, int flags = 0); native double, Sector, F3DFloor NextLowestFloorAt(double x, double y, double z, int flags = 0, double steph = 0);