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

Merge branch 'tmj-dev' into milek-dev

This commit is contained in:
milek7
2018-10-14 22:27:28 +02:00
6 changed files with 33 additions and 24 deletions

View File

@@ -1730,7 +1730,7 @@ int TTrack::CrossSegment(int from, int into)
void TTrack::RaAnimListAdd(TTrack *t)
{ // dodanie toru do listy animacyjnej
if (SwitchExtension)
if ((t != nullptr) && (SwitchExtension != nullptr))
{
if (t == this)
return; // siebie nie dodajemy drugi raz do listy