From a57c41b2c45131f9b7ddb3921d5a2abfae051abc Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 21 Mar 2016 21:44:00 +0000 Subject: [PATCH] Fix height colour table not being checked/inited in viewport map mode. --- src/viewport.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/viewport.cpp b/src/viewport.cpp index fe1988798b..c520aae938 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -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