mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Merge branch 'next' into internal-master
This commit is contained in:
commit
967c2a324a
1 changed files with 3 additions and 1 deletions
|
@ -2235,7 +2235,7 @@ void T_EachTimeThinker(levelspecthink_t *eachtime)
|
||||||
oldPlayersArea = oldPlayersInArea;
|
oldPlayersArea = oldPlayersInArea;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((affectPlayer = P_HavePlayersEnteredArea(playersArea, oldPlayersArea, inAndOut)) != -1)
|
while ((affectPlayer = P_HavePlayersEnteredArea(playersArea, oldPlayersArea, inAndOut)) != -1)
|
||||||
{
|
{
|
||||||
if (GETSECSPECIAL(sec->special, 2) == 2 || GETSECSPECIAL(sec->special, 2) == 3)
|
if (GETSECSPECIAL(sec->special, 2) == 2 || GETSECSPECIAL(sec->special, 2) == 3)
|
||||||
{
|
{
|
||||||
|
@ -2268,6 +2268,8 @@ void T_EachTimeThinker(levelspecthink_t *eachtime)
|
||||||
|
|
||||||
if (!eachtime->sourceline->special) // this happens only for "Trigger on X calls" linedefs
|
if (!eachtime->sourceline->special) // this happens only for "Trigger on X calls" linedefs
|
||||||
P_RemoveThinker(&eachtime->thinker);
|
P_RemoveThinker(&eachtime->thinker);
|
||||||
|
|
||||||
|
oldPlayersArea[affectPlayer]=playersArea[affectPlayer];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue