- Changed DObject's pointer substitution so that the pointers inside an
object are handled by a virtual function. This allows subclasses to implement their own handling if they need it. SVN r797 (trunk)
This commit is contained in:
parent
f609f43187
commit
07e795e656
6 changed files with 32 additions and 23 deletions
|
|
@ -3671,7 +3671,7 @@ void P_SpawnPlayer (mapthing2_t *mthing, bool tempplayer)
|
|||
}
|
||||
|
||||
|
||||
DObject::PointerSubstitution (oldactor, p->mo);
|
||||
DObject::StaticPointerSubstitution (oldactor, p->mo);
|
||||
// PointerSubstitution() will also affect the bodyque, so undo that now.
|
||||
for (int ii=0; ii < BODYQUESIZE; ++ii)
|
||||
if (bodyque[ii] == p->mo)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue