Skip to content

Commit da14da5

Browse files
committed
change WLAssets paths to use unix style path separators
1 parent 0f21e97 commit da14da5

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

osrs/finders/house_layout_finder.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ procedure TRSHouseLayoutFinder.Setup();
3434
var
3535
path, tmp: String;
3636
begin
37-
Self.Version := WLAssets.JSON.Item['finders\house_layout.zip'].AsString;
37+
Self.Version := WLAssets.JSON.Item['finders/house_layout.zip'].AsString;
3838
Self.CacheDir := WLEnv.CacheDir + 'houselayoutfinder' + PATH_SEP;
3939

4040
//Delete old cache files if they exist

osrs/finders/itemfinder.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ var
148148
path, tmp: String;
149149
begin
150150
if Self.IsSetup then Exit;
151-
Self.Version := WLAssets.JSON.Item['finders\items\items.zip'].AsString;
151+
Self.Version := WLAssets.JSON.Item['finders/items/items.zip'].AsString;
152152
Self.Database.Setup(
153153
'ItemFinder', ['id', 'item', 'hash'],
154154
WLEnv.AssetsDir + 'finders' + PATH_SEP + 'items' + PATH_SEP + 'data' + PATH_SEP,

osrs/finders/overheadfinder.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ procedure TRSOverheadFinder.Setup();
9494
var
9595
path, tmp: String;
9696
begin
97-
Self.Version := WLAssets.JSON.Item['finders\overheads.zip'].AsString;
97+
Self.Version := WLAssets.JSON.Item['finders/overheads.zip'].AsString;
9898
Self.CacheDir := WLEnv.CacheDir + 'overheadfinder' + PATH_SEP;
9999

100100
//Delete old cache files if they exist

osrs/finders/prayerfinder.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ procedure TRSPrayerFinder.Setup();
8181
var
8282
path, tmp: String;
8383
begin
84-
Self.Version := WLAssets.JSON.Item['finders\prayer.zip'].AsString;
84+
Self.Version := WLAssets.JSON.Item['finders/prayer.zip'].AsString;
8585
Self.CacheDir := WLEnv.CacheDir + 'prayerfinder' + PATH_SEP;
8686

8787
//Delete old cache files if they exist

osrs/finders/spellfinder.simba

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ procedure TRSSpellFinder.Setup();
3333
var
3434
path, tmp: String;
3535
begin
36-
Self.Version := WLAssets.JSON.Item['finders\spells.zip'].AsString;
36+
Self.Version := WLAssets.JSON.Item['finders/spells.zip'].AsString;
3737
Self.CacheDir := WLEnv.CacheDir + 'spellfinder' + PATH_SEP;
3838

3939
//Delete old cache files if they exist

osrs/position/map/maploader.simba

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,9 +244,9 @@ var
244244
begin
245245
with WLAssets.JSON do
246246
Self.Version := HashString(EHashAlgo.CRC32,
247-
Item['map\map.zip'].AsString + Item['map\heightmap.zip'].AsString +
248-
Item['map\collision.zip'].AsString + Item['map\objects.zip'].AsString +
249-
Item['map\npcs.zip'].AsString
247+
Item['map/map.zip'].AsString + Item['map/heightmap.zip'].AsString +
248+
Item['map/collision.zip'].AsString + Item['map/objects.zip'].AsString +
249+
Item['map/npcs.zip'].AsString
250250
);
251251

252252
Self.CacheDir := WLEnv.CacheDir + 'map' + PATH_SEP;

0 commit comments

Comments
 (0)