Skip to content

Commit

Permalink
Change maximum zoom distance from 10000 to 5000
Browse files Browse the repository at this point in the history
* avoid several bugs when drawing the 3D map, caused by hardcoding
* performance improvement has not been measured yet, but was also a concern
* larger zoom values remain available in debug mode

Fixes #4629
  • Loading branch information
Forgon2100 committed Jan 27, 2019
1 parent d41d0e3 commit 58854ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/display.h
Expand Up @@ -192,7 +192,7 @@ void setDesiredPitch(SDWORD pitch);
#define MAX_PLAYER_X_ANGLE (-1)
#define MIN_PLAYER_X_ANGLE (-60)

#define MAXDISTANCE (10000)
#define MAXDISTANCE (5000)
#define MINDISTANCE (0)
#define STARTDISTANCE (2500)
#define OLD_START_HEIGHT (1500) // only used in savegames <= 10
Expand Down

0 comments on commit 58854ae

Please sign in to comment.