Commit Graph
3 Commits
Author SHA1 Message Date
Levi Schuck db4830e83a Sort Fishing spots by distance from camera
The default sort of fishing spots ends up drawing further things on top
of closer things, as it has no relation to the camera.

To solve this, convert the camera point to a `LocalPoint` and then
sort by comparing local points from the NPC to the camera's point.
However, the sort is inverted by `-1 *` so that further things are drawn
first, and closer things are drawn last--this way closer things are
always on top.

Fixes #1737
2018-04-21 15:08:35 -05:00
Levi Schuck f287cf7721 Reset XP on log-in of another character / mode 2018-04-09 23:04:28 -05:00
Levi Schuck d184a908f7 Lumbridge npcs have some bad compositions and return null in the dev tools. 2018-04-08 17:25:10 -04:00