Fixed map labels jumping around the map on scroll (fixes #2333)

Fixup 089fc02c298e7e4f6ed6bc57935cbf4811a03234. Not sure why this works, though.
-xmove, -ymove worked fine on accelerated_rendering... Or perhaps I just didn't
notice this issue.
This commit is contained in:
Charles Dang 2018-01-23 17:04:57 +11:00
parent 32119a5a05
commit 2e7b041eb5

View File

@ -1953,7 +1953,7 @@ bool display::scroll(int xmove, int ymove, bool force)
*
* const int label_[x,y]_adjust = [x,y]pos_ - new_[x,y];
*/
font::scroll_floating_labels(-xmove, -ymove);
font::scroll_floating_labels(diff_x, diff_y);
labels().recalculate_shroud();