16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 22:39: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 8a204edaed
commit 58b1bc38ae
4 changed files with 82 additions and 18 deletions

View File

@@ -1159,6 +1159,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