mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 18:39:18 +02: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;
|
bool isAnyPantUp = false;
|
||||||
if (p)
|
if (p)
|
||||||
{
|
{
|
||||||
for each (auto item in p->MoverParameters->Pantographs)
|
for (auto &item : p->MoverParameters->Pantographs)
|
||||||
{
|
{
|
||||||
isAnyPantUp |= item.is_active;
|
isAnyPantUp |= item.is_active;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user