game.cpp: temporarily limit A_Spawn() owner changes from r7738 to locators

git-svn-id: https://svn.eduke32.com/eduke32@7751 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
pogokeen 2019-06-29 18:45:44 +00:00 committed by Christoph Oelckers
parent f51b2a2cb3
commit 13615565fd
1 changed files with 3 additions and 3 deletions

View File

@ -1445,10 +1445,10 @@ int A_Spawn(int spriteNum, int tileNum)
if (s.picnum == SECTOREFFECTOR && s.lotag == 50)
a.picnum = s.owner;
if (s.owner == -1)
s.owner = a.owner = newSprite;
else
if (s.picnum == LOCATORS && s.owner != -1)
a.owner = s.owner;
else
s.owner = a.owner = newSprite;
a.floorz = sector[s.sectnum].floorz;
a.ceilingz = sector[s.sectnum].ceilingz;