SVN r191 (trunk)
This commit is contained in:
parent
6e198e034b
commit
d99f5b4b99
7 changed files with 165 additions and 104 deletions
|
|
@ -499,11 +499,14 @@ void DObject::PointerSubstitution (DObject *old, DObject *notOld)
|
|||
players[i].FixPointers (old, notOld);
|
||||
}
|
||||
|
||||
for (i = 0; i < (unsigned int)numsectors; ++i)
|
||||
if (sectors != NULL)
|
||||
{
|
||||
if (sectors[i].SoundTarget == old)
|
||||
for (i = 0; i < (unsigned int)numsectors; ++i)
|
||||
{
|
||||
sectors[i].SoundTarget = static_cast<AActor *>(notOld);
|
||||
if (sectors[i].SoundTarget == old)
|
||||
{
|
||||
sectors[i].SoundTarget = static_cast<AActor *>(notOld);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue