Merge branch 'enhanced_viewport_overlay-sx' into jgrpp

This commit is contained in:
Jonathan G Rennison
2016-03-21 21:44:22 +00:00

View File

@@ -2363,6 +2363,8 @@ void ViewportMapDraw(const ViewPort * const vp)
assert(vp != NULL);
Blitter * const blitter = BlitterFactory::GetCurrentBlitter();
SmallMapWindow::RebuildColourIndexIfNecessary();
/* Index of colour: _green_map_heights[] contains blocks of 4 colours, say ABCD
* For a XXXY colour block to render nicely, follow the model:
* line 1: ABCDABCDABCD