mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Loop fix for non-vs builds
This commit is contained in:
@@ -3967,7 +3967,7 @@ bool TDynamicObject::Update(double dt, double dt1)
|
||||
bool isAnyPantUp = false;
|
||||
if (p)
|
||||
{
|
||||
for each (auto item in p->MoverParameters->Pantographs)
|
||||
for (auto &item : p->MoverParameters->Pantographs)
|
||||
{
|
||||
isAnyPantUp |= item.is_active;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user