summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Terrain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Terrain.cpp')
-rw-r--r--StarsEx/Terrain.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/StarsEx/Terrain.cpp b/StarsEx/Terrain.cpp
index 4d0a5f9..94035a0 100644
--- a/StarsEx/Terrain.cpp
+++ b/StarsEx/Terrain.cpp
@@ -24,7 +24,6 @@
#include "Bitmap.h"
#include "DataLoader.h"
#include "Game.h"
-#include "MachineInfo.h"
// +--------------------------------------------------------------------+
@@ -540,14 +539,8 @@ Terrain::Height(double x, double y) const
void
Terrain::SetDetailLevel(int detail)
{
- if (detail >= 1 && detail <= 4) {
-
- // limit detail on low memory machines:
- if (detail > 3 && MachineInfo::GetTotalRam() < 64)
- detail = 3;
-
+ if (detail >= 1 && detail <= 4)
detail_level = detail;
- }
}
// +--------------------------------------------------------------------+