summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Starshatter.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-03-01 02:28:21 +0100
committerAki <please@ignore.pl>2024-03-01 02:28:21 +0100
commit8b21a7027491d7e69bb165c0c50b0a23d1c8755e (patch)
treeef5775bece2ae744313c0bfecc2a74e7ad7f408b /StarsEx/Starshatter.cpp
parent154e2d7f4a063703dbdbb0984579be10355bf785 (diff)
downloadstarshatter-8b21a7027491d7e69bb165c0c50b0a23d1c8755e.zip
starshatter-8b21a7027491d7e69bb165c0c50b0a23d1c8755e.tar.gz
starshatter-8b21a7027491d7e69bb165c0c50b0a23d1c8755e.tar.bz2
Removed useless MachineInfo queries
One questionable leftover is the Windows version check
Diffstat (limited to 'StarsEx/Starshatter.cpp')
-rw-r--r--StarsEx/Starshatter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/StarsEx/Starshatter.cpp b/StarsEx/Starshatter.cpp
index 6b87fb8..b0f7910 100644
--- a/StarsEx/Starshatter.cpp
+++ b/StarsEx/Starshatter.cpp
@@ -81,7 +81,6 @@
#include "ParseUtil.h"
#include "Token.h"
-#include "MachineInfo.h"
#include "Game.h"
#include "GameWinDX9.h"
#include "Clock.h"
@@ -2269,9 +2268,6 @@ Starshatter::LoadVideoConfig(const char* filename)
float depth_bias = video_settings->depth_bias;
int max_tex_size = 2048;
- if (MachineInfo::GetCpuSpeed() >= 1000 && MachineInfo::GetTotalRam() > 128)
- terrain_detail_level = 4;
-
Terrain::SetDetailLevel(terrain_detail_level);
// read the config file: