(svn r26928) -Change: scale the heightmap colours over the whole range of heights (based on patch by ic111)
This commit is contained in:
@@ -141,6 +141,10 @@ static int32 ClickChangeMaxHlCheat(int32 p1, int32 p2) {
|
||||
/* Execute the change and reload GRF Data */
|
||||
_settings_game.construction.max_heightlevel = p1;
|
||||
ReloadNewGRFData();
|
||||
|
||||
/* The smallmap uses an index from heightlevels to colours. Trigger rebuilding it. */
|
||||
InvalidateWindowClassesData(WC_SMALLMAP, 2);
|
||||
|
||||
return _settings_game.construction.max_heightlevel;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user