mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 210303. vehicle control hint system, virtual trainman toggle, configurable diesel engine rpm deceleration rate, vehicle repair enhancement, debug panel enhancements, customizable vehicle displays refresh rate, idling compressor sound, traction ac motor sound, braking sound enhancement, sky state enhancement, minor bug fixes
This commit is contained in:
@@ -1847,7 +1847,7 @@ void TModel3d::deserialize(std::istream &s, size_t size, bool dynamic)
|
||||
m_vertexcount += submodelgeometry.vertex_count;
|
||||
switch( vertextype ) {
|
||||
case 0: {
|
||||
// legacy vnt0 format
|
||||
// legacy vnt0 format
|
||||
for( auto &vertex : submodel.Vertices ) {
|
||||
vertex.deserialize( s, hastangents );
|
||||
if( submodel.eType < TP_ROTATOR ) {
|
||||
@@ -1876,6 +1876,7 @@ void TModel3d::deserialize(std::istream &s, size_t size, bool dynamic)
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
// TBD, TODO: throw error here?
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user