Skip to content

Commit 1b31ad5

Browse files
committed
Update CVehicleSA.cpp
1 parent 4bf5d32 commit 1b31ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/game_sa/CVehicleSA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1586,7 +1586,7 @@ bool CVehicleSA::SpawnFlyingComponent(const eCarNodes& nodeIndex, const eCarComp
15861586
bikeInterface->m_apModelNodes[1] = defaultBikeChassisFrame;
15871587
}
15881588

1589-
if (removalTime <= -1)
1589+
if (removalTime <= -1 || !componentObject)
15901590
return true;
15911591

15921592
std::uint32_t CTimer_ms = *reinterpret_cast<std::uint32_t*>(VAR_CTimer_snTimeInMilliseconds);

0 commit comments

Comments
 (0)