mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
f51b2a2cb3
commit
13615565fd
1 changed files with 3 additions and 3 deletions
|
@ -1445,10 +1445,10 @@ int A_Spawn(int spriteNum, int tileNum)
|
||||||
if (s.picnum == SECTOREFFECTOR && s.lotag == 50)
|
if (s.picnum == SECTOREFFECTOR && s.lotag == 50)
|
||||||
a.picnum = s.owner;
|
a.picnum = s.owner;
|
||||||
|
|
||||||
if (s.owner == -1)
|
if (s.picnum == LOCATORS && s.owner != -1)
|
||||||
s.owner = a.owner = newSprite;
|
|
||||||
else
|
|
||||||
a.owner = s.owner;
|
a.owner = s.owner;
|
||||||
|
else
|
||||||
|
s.owner = a.owner = newSprite;
|
||||||
|
|
||||||
a.floorz = sector[s.sectnum].floorz;
|
a.floorz = sector[s.sectnum].floorz;
|
||||||
a.ceilingz = sector[s.sectnum].ceilingz;
|
a.ceilingz = sector[s.sectnum].ceilingz;
|
||||||
|
|
Loading…
Reference in a new issue