Fix drivable vehicle not having the death waittill after loading from save

This caused some vehicles to be destroyed immediately after being handled from script (like the halftrack in t2l1)
This commit is contained in:
smallmodel 2024-08-18 12:03:01 +02:00
parent a399fdf6cf
commit 377b0896c2
No known key found for this signature in database
GPG key ID: A96F163ED4891440

View file

@ -6857,11 +6857,6 @@ DrivableVehicle::DrivableVehicle
*/
DrivableVehicle::DrivableVehicle()
{
if (LoadingSavegame) {
// Archive function will setup all necessary data
return;
}
AddWaitTill(STRING_DEATH);
drivable = true;