diff options
| author | aap <aap@papnet.eu> | 2019-07-29 19:18:03 +0200 |
|---|---|---|
| committer | aap <aap@papnet.eu> | 2019-07-31 14:33:27 +0200 |
| commit | 5f6b235301f734b73f8307cf3e29997e7f76eac8 (patch) | |
| tree | 73037842a302ae6e888e365b32e8ce74287e3f8d /src/core/ZoneCull.cpp | |
| parent | Merge pull request #175 from erorcun/erorcun (diff) | |
| parent | restore original shadows fading (diff) | |
| download | re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar.gz | |
implemented CTrain
Diffstat (limited to 'src/core/ZoneCull.cpp')
| -rw-r--r-- | src/core/ZoneCull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ZoneCull.cpp b/src/core/ZoneCull.cpp index 90155bcf..dc162147 100644 --- a/src/core/ZoneCull.cpp +++ b/src/core/ZoneCull.cpp @@ -186,7 +186,7 @@ CCullZones::MarkSubwayAsInvisible(bool visible) n = CPools::GetVehiclePool()->GetSize(); for(i = 0; i < n; i++){ v = CPools::GetVehiclePool()->GetSlot(i); - if(v && v->IsTrain() && ((CTrain*)v)->m_trackId != 0) + if(v && v->IsTrain() && ((CTrain*)v)->m_nTrackId != TRACK_ELTRAIN) v->bIsVisible = visible; } } |
