This MR fixes drawOnMinimap
to respect the current advances in minimap drawing technology.
A refactor was made to remove almost all of the hard-coded cruft from it, extracting the flags- and position-related code used in the actual minimap code into functions to be used in drawOnMinimap
, for simplification and ease of maintenance.
Test script (by Togen, draws a dot on your position every so often): DL_MapTrails-vbad.lua
Before:
After: