Skip to content

Commit

Permalink
fix: small tweak to enum scoping
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Dec 21, 2024
1 parent a3edc68 commit 38751e0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion optional/handlers/house/house.simba
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ e.g., Nexus room, Combat Hall and Quest Hall are all identical.
{$DEFINE WL_HOUSE_INCLUDED}
{$IFNDEF WL_OSR}
{$I WaspLib/osr.simba}
{$SCOPEDENUMS ON}
{$ENDIF}

{$IFNDEF WL_HOUSEMAP_INCLUDED}
Expand Down
1 change: 0 additions & 1 deletion optional/handlers/house/housemap.simba
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ The HouseMap is what's responsible for mapping a user's POH (Player owned house)
{$DEFINE WL_HOUSEMAP_INCLUDED}
{$IFNDEF WL_OSR}
{$I WaspLib/osr.simba}
{$SCOPEDENUMS ON}
{$ENDIF}

{$IFNDEF WL_HOUSEUTILS_INCLUDED}
Expand Down
4 changes: 3 additions & 1 deletion optional/handlers/house/houseutils.simba
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ The HouseMap is what's responsible for mapping a user's POH (Player owned house)
{$DEFINE WL_HOUSEUTILS_INCLUDED}
{$IFNDEF WL_OSR}
{$I WaspLib/osr.simba}
{$SCOPEDENUMS ON}
{$ENDIF}

type
THouseColor = record
Outdoors, Indoors, Dungeon: Int32;
end;

{$SCOPEDENUMS ON}
(*
(EHouseDecoration)=
## type EHouseDecoration
Expand Down Expand Up @@ -122,6 +122,8 @@ EHouseTeleport = (
DIGSITE, XERIC
);

{$SCOPEDENUMS OFF}

THouseRoom = record
Room: EHouseRoom;
Rotation: Int32;
Expand Down

0 comments on commit 38751e0

Please sign in to comment.