16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00

Improved scenery loading from SBT

When found SBT file, ignores "*_ter.scm" files
This commit is contained in:
Jano211
2023-08-11 21:26:15 +02:00
committed by Hirek
parent e5c317a7bf
commit c712c7d5a3
4 changed files with 84 additions and 18 deletions

View File

@@ -1158,6 +1158,7 @@ basic_region::deserialize( std::string const &Scenariofile ) {
filename += EU07_FILEEXTENSION_REGION;
if( false == FileExists( filename ) ) {
Global.file_binary_terrain_state = false;
return false;
}
// region file version 1