feat: save the mount item as live did

Every live save had <mnt a="..."/>, which
LWOMountControlComponent::LoadFromSaveData (0x00bf99c0) reads as the
character's mount item (0 on the 450 saves looked at). The server wrote
no such element.

MountControlComponent now writes it: the item of the mount being ridden,
0 on foot. The saved value is read and kept; nothing is mounted from it,
as riding does not go on over a world change. A save from before gains
<mnt a="0"/> and nothing else in it changes.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-11-10 15:54:54 -06:00
parent c5c90f73a2
commit 02623be7fb
5 changed files with 102 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ set(DGAME_DCOMPONENTS_SOURCES
"Character/LevelProgressionComponent.cpp"
"LUPExhibitComponent.cpp"
"Character/MissionComponent.cpp"
"Character/MountControlComponent.cpp"
"MissionOfferComponent.cpp"
"ModelComponent.cpp"
"ModuleAssemblyComponent.cpp"