Skip to content

Commit

Permalink
fixes #patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Torwent committed Aug 20, 2021
1 parent d75068b commit 6f6b23c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion osr/waspobjects/rsgrounditems.simba
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ end;

procedure TRSGroundItems.Setup(Walker: PRSWalker); overload;
begin
MarkOfGrace.SetupCommon(Walker, 4, 2, []);
MarkOfGrace.SetupCommon(Walker, 4, 2, 1, []);

BirdNest.SetupCommon(Walker, 4, 2, []);

Expand Down
7 changes: 3 additions & 4 deletions osr/waspobjects/waspobject.simba
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This record holds information about the shape of a TWaspObject

TileVector is a Vector3 type holding the information about the size and orientation of a TWaspObject. Multiple sized TWaspObjects, e.g. TWaspObjects that are oriented differently throught runescape should be set separately in **TWaspObject.ShapeArray**.

TileVector has variables:
TileVector has 3 variables:
- **X** ( Number of tiles the TWaspObject takes from **West** to **East** )
- **Y** ( Number of tiles the TWaspObject takes from **North** to **South** )
- **Z** ( Height of the TWaspObject from the **Floor** to it's **Top**. This value cannot be measured and has to be guessed by trial and error, for reference, a Player or a human NPC height is about **6** )
Expand All @@ -59,7 +59,6 @@ TRSObjectFilter is the record used in **TWaspObject.Filter**. This record is use
WaspObject.Filter.Walker := False;
*)
type

TRSObjectShape = record
TileArray: TPointArray;
TileVector: Vector3;
Expand Down Expand Up @@ -179,7 +178,7 @@ begin
Filter.MinimapDot := True;
end;

procedure TRSMMDot.SetupCommon(PWalker: PRSWalker; Radius, Height: Int32; ObjTileArray: TPointArray); overload;
procedure TRSMMDot.SetupCommon(PWalker: PRSWalker; Radius: Int32; Height: Double; ObjTileArray: TPointArray); overload;
begin
Walker := PWalker;
TileArray := ObjTileArray;
Expand All @@ -188,7 +187,7 @@ begin
Filter.Walker := True;
end;

procedure TRSMMDot.SetupCommon(PWalker: PRSWalker; Radius, Size, Height: Int32; ObjTileArray: TPointArray); overload;
procedure TRSMMDot.SetupCommon(PWalker: PRSWalker; Radius: Int32; Size, Height: Double; ObjTileArray: TPointArray); overload;
begin
Walker := PWalker;
TileArray := ObjTileArray;
Expand Down

0 comments on commit 6f6b23c

Please sign in to comment.