mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
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:
parent
da7cd03f09
commit
558e69dba8
1 changed files with 1 additions and 0 deletions
|
@ -6511,6 +6511,7 @@ void Vehicle::Archive(Archiver& arc)
|
||||||
arc.ArchiveFloat(&conesize);
|
arc.ArchiveFloat(&conesize);
|
||||||
arc.ArchiveFloat(&maxtracedist);
|
arc.ArchiveFloat(&maxtracedist);
|
||||||
arc.ArchiveString(&weaponName);
|
arc.ArchiveString(&weaponName);
|
||||||
|
arc.ArchiveString(&vehicleName);
|
||||||
arc.ArchiveVector(&last_origin);
|
arc.ArchiveVector(&last_origin);
|
||||||
arc.ArchiveVector(&seatangles);
|
arc.ArchiveVector(&seatangles);
|
||||||
arc.ArchiveVector(&seatoffset);
|
arc.ArchiveVector(&seatoffset);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue