mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Improved scenery loading from SBT
When found SBT file, ignores "*_ter.scm" files
This commit is contained in:
@@ -55,6 +55,16 @@ state_serializer::deserialize_begin( std::string const &Scenariofile ) {
|
||||
state->scratchpad.binary.terrain = Region->is_scene( Scenariofile ) ;
|
||||
}
|
||||
|
||||
if (false != state->scratchpad.binary.terrain)
|
||||
{
|
||||
Global.file_binary_terrain_state = true;
|
||||
WriteLog("SBT present");
|
||||
}
|
||||
else
|
||||
{
|
||||
Global.file_binary_terrain_state = false;
|
||||
WriteLog("SBT absent");
|
||||
}
|
||||
scene::Groups.create();
|
||||
|
||||
if( false == state->input.ok() )
|
||||
|
||||
Reference in New Issue
Block a user