Skip to content

Commit 7963997

Browse files
committed
Fix respawning of blown vehicles (Fixes #2294)
1 parent 449c5c3 commit 7963997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/CVehicle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,8 +749,8 @@ bool CVehicle::SetTowedByVehicle(CVehicle* pVehicle)
749749

750750
void CVehicle::SpawnAt(const CVector& vecPosition, const CVector& vecRotation)
751751
{
752-
SetHealth(GetRespawnHealth());
753752
SetBlowState(VehicleBlowState::INTACT);
753+
SetHealth(GetRespawnHealth());
754754
StopIdleTimer();
755755
ResetDoorsWheelsPanelsLights();
756756
SetLandingGearDown(true);

0 commit comments

Comments
 (0)