Fix height colour table not being checked/inited in viewport map mode.

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

View File

@@ -2333,6 +2333,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