From 8b21a7027491d7e69bb165c0c50b0a23d1c8755e Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Mar 2024 02:28:21 +0100 Subject: Removed useless MachineInfo queries One questionable leftover is the Windows version check --- StarsEx/Starshatter.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'StarsEx/Starshatter.cpp') 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: -- cgit v1.1