Skip to content

Restore projectile caster from savegame (#5860)

Frederic Chardon requested to merge fr3dz10/openmw:restore_caster into master

In the savegame, projectile caster is identified by its actor id. When loading, we need to map it to actual Ptr. However, actor id are meaningful only after cells are loaded, so add a mechanism to defer the mapping til after all cells are active.

Objects that cast magic bolt will lose their caster nevertheless, log a warning in this case.

Merge request reports