Permalink
Browse files

fixes #4689: remove routine that assumed radar zoom < 4 while the min…

…imum value is 8 (patch 1/3)
  • Loading branch information...
Forgon2100
Forgon2100 committed Sep 2, 2017
1 parent ebacfd2 commit 0752c2b00e1cd68256ba77e67178a7c0a0fa7a9a
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/radar.cpp
View
@@ -195,10 +195,6 @@ bool ShutdownRadar()
void SetRadarZoom(uint8_t ZoomLevel)
{
if (ZoomLevel < 4) // old savegame format didn't save zoom levels very well
{
ZoomLevel = DEFAULT_RADARZOOM;
}
if (ZoomLevel > MAX_RADARZOOM)
{
ZoomLevel = MAX_RADARZOOM;

0 comments on commit 0752c2b

Please sign in to comment.