mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 06:49:19 +02:00
build 200615. brake release sound tweak, low detail interior vehicle screens support
This commit is contained in:
@@ -7881,7 +7881,10 @@ bool TTrain::InitializeCab(int NewCabNo, std::string const &asFileName)
|
||||
opengl_texture *tex = nullptr;
|
||||
TSubModel *submodel = nullptr;
|
||||
if (submodelname != "none") {
|
||||
submodel = ( DynamicObject->mdKabina ? DynamicObject->mdKabina->GetFromName( submodelname ) : nullptr );
|
||||
submodel = (
|
||||
DynamicObject->mdKabina ? DynamicObject->mdKabina->GetFromName( submodelname ) :
|
||||
DynamicObject->mdLowPolyInt ? DynamicObject->mdLowPolyInt->GetFromName( submodelname ) :
|
||||
nullptr );
|
||||
if( submodel == nullptr ) {
|
||||
WriteLog( "Python Screen: submodel " + submodelname + " not found - Ignoring screen" );
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user