- Added read barriers to all actor pointers within player_t except for
mo, ReadyWeapon and PendingWeapon. SVN r1039 (trunk)
This commit is contained in:
parent
7a215e538a
commit
d4c8cdf45a
3 changed files with 15 additions and 10 deletions
|
|
@ -322,6 +322,7 @@ size_t player_t::FixPointers (const DObject *old, DObject *rep)
|
|||
if (last_mate == old) last_mate = replacement, changed++;
|
||||
if (ReadyWeapon == old) ReadyWeapon = static_cast<AWeapon *>(rep), changed++;
|
||||
if (PendingWeapon == old) PendingWeapon = static_cast<AWeapon *>(rep), changed++;
|
||||
if (PremorphWeapon == old) PremorphWeaon = static_cast<AWeapon *>(rep), changed++;
|
||||
if (ConversationNPC == old) ConversationNPC = replacement, changed++;
|
||||
if (ConversationPC == old) ConversationPC = replacement, changed++;
|
||||
return changed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue