Merge branch 'enhanced_viewport_overlay' into enhanced_viewport_overlay-sx

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

View File

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