mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
maintenance: null dereferencing fixes, vehicle load shadow render fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user