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)
This commit is contained in:
smallmodel 2024-10-27 14:27:44 +01:00
parent da7cd03f09
commit 558e69dba8
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -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);