mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Revise r8001
git-svn-id: https://svn.eduke32.com/eduke32@8004 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7ec6a6beca
commit
59b0c0e3f7
1 changed files with 4 additions and 3 deletions
|
@ -1461,9 +1461,9 @@ int A_Spawn(int spriteNum, int tileNum)
|
||||||
else
|
else
|
||||||
s.owner = a.owner = newSprite;
|
s.owner = a.owner = newSprite;
|
||||||
|
|
||||||
A_GetZLimits(newSprite);
|
a.floorz = sector[s.sectnum].floorz;
|
||||||
|
a.ceilingz = sector[s.sectnum].ceilingz;
|
||||||
a.stayput = a.extra = -1;
|
a.stayput = a.extra = -1;
|
||||||
|
|
||||||
#ifdef POLYMER
|
#ifdef POLYMER
|
||||||
a.lightId = -1;
|
a.lightId = -1;
|
||||||
|
@ -1515,6 +1515,7 @@ int A_Spawn(int spriteNum, int tileNum)
|
||||||
|
|
||||||
if (!G_InitActor(newSprite, s.picnum, 0))
|
if (!G_InitActor(newSprite, s.picnum, 0))
|
||||||
T2(newSprite) = T5(newSprite) = 0; // AC_MOVE_ID, AC_ACTION_ID
|
T2(newSprite) = T5(newSprite) = 0; // AC_MOVE_ID, AC_ACTION_ID
|
||||||
|
else A_GetZLimits(newSprite);
|
||||||
}
|
}
|
||||||
|
|
||||||
pSprite = &sprite[newSprite];
|
pSprite = &sprite[newSprite];
|
||||||
|
|
Loading…
Reference in a new issue