<div dir="ltr"><div><div><div>So when Heroes and NPCs are in the same layer, and the player mounts a vehicle that does not hide the leader, the sorting order is only correct half the time.<br><br></div>A currently mounted vehicle should always be behind a hero sprite with the same Y value.<br><br></div>That layer is currently slAutoSortY<br><br></div>I am wondering if it is better to set it to slAutoSortCustom, with a loop in refresh_walkabout_layer_sort() that manually sets the correct sort order for all walkabouts, or if I should create a new magical slAutoSortWalkabouts and code the special rules in there.<br></div>