forked from mirror/openmw-tes3mp
[Client] Add World::updatePtrsWithRefId() method
This makes it possible to "reload" the Ptrs in active cells when changes happen to the ESM record that they are based on. In practice, the old Ptrs are deleted, their RefNums and MpNums are blanked out, and new Ptrs are created that use the same RefNum and MpNum as before. The above has required me to also add a method called setRefNum() to CellRef to allow setting a RefNum on the fly. There may be a more elegant implementation available for updatePtrsWithRefIds(), but it requires additional research.remotes/1728160796594174844/tmp_0.7.0-alpha
parent
9497c7f6f2
commit
7136329a94
Loading…
Reference in New Issue