mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 05:29:18 +02:00
Merge commit 'd8170c932b448ba6888e702746b5ae22632062d8' into sim
This commit is contained in:
@@ -530,8 +530,8 @@ state_serializer::deserialize_node( cParser &Input, scene::scratch_data &Scratch
|
||||
// crude way to detect fixed switch trackbed geometry
|
||||
|| ( ( true == Global.CreateSwitchTrackbeds )
|
||||
&& ( Input.Name().size() >= 15 )
|
||||
&& ( Input.Name().substr( 0, 11 ) == "scenery/zwr" )
|
||||
&& ( Input.Name().substr( Input.Name().size() - 4 ) == ".inc" ) ) };
|
||||
&& ( starts_with( Input.Name(), "scenery/zwr" ) )
|
||||
&& ( ends_with( Input.Name(), ".inc" ) ) ) };
|
||||
|
||||
if( false == skip ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user