From 558e69dba8c8cc9f135a9ac39c8057660e0ee0d9 Mon Sep 17 00:00:00 2001 From: smallmodel <15067410+smallmodel@users.noreply.github.com> Date: Sun, 27 Oct 2024 14:27:44 +0100 Subject: [PATCH] Archive the vehicle name This was missing and this allows the torso state to the modheight to set the bounding box height. Before that, it did not recognize the turret so the modheight was still set to stand. It caused issues when trying to get out a vehicle turret, like the flak88 in e1l1 (the player wasn't able to get out of the turret) --- code/fgame/vehicle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/fgame/vehicle.cpp b/code/fgame/vehicle.cpp index 7e819af9..109f4e21 100644 --- a/code/fgame/vehicle.cpp +++ b/code/fgame/vehicle.cpp @@ -6511,6 +6511,7 @@ void Vehicle::Archive(Archiver& arc) arc.ArchiveFloat(&conesize); arc.ArchiveFloat(&maxtracedist); arc.ArchiveString(&weaponName); + arc.ArchiveString(&vehicleName); arc.ArchiveVector(&last_origin); arc.ArchiveVector(&seatangles); arc.ArchiveVector(&seatoffset);