16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 06:29:18 +02:00

external cargo included in the vehicle load visualization system, cargo model offset parameter

This commit is contained in:
tmj-fstate
2018-09-08 19:55:13 +02:00
parent e4789db1d5
commit 397628242c
7 changed files with 100 additions and 60 deletions

View File

@@ -1154,7 +1154,7 @@ void TModel3d::AddTo(TSubModel *tmp, TSubModel *SubModel) {
iFlags |= 0x0200; // submodele są oddzielne
};
TSubModel *TModel3d::GetFromName(std::string const &Name)
TSubModel *TModel3d::GetFromName(std::string const &Name) const
{ // wyszukanie submodelu po nazwie
if (Name.empty())
return Root; // potrzebne do terenu z E3D