mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 01:11:15 +00:00
- made SP_TAG1 a function with an actor parameter.
This commit is contained in:
parent
40050f5008
commit
5be1bc4de7
9 changed files with 35 additions and 34 deletions
|
@ -155,7 +155,7 @@ void DoRotatorMatch(PLAYERp pp, short match, bool manual)
|
|||
{
|
||||
fsp = &actor->s();
|
||||
|
||||
if (SP_TAG1(fsp) == SECT_ROTATOR && SP_TAG2(fsp) == match)
|
||||
if (SP_TAG1(actor) == SECT_ROTATOR && SP_TAG2(fsp) == match)
|
||||
{
|
||||
fu = actor->u();
|
||||
|
||||
|
@ -212,7 +212,7 @@ bool TestRotatorMatchActive(short match)
|
|||
{
|
||||
fsp = &actor->s();
|
||||
|
||||
if (SP_TAG1(fsp) == SECT_ROTATOR && SP_TAG2(fsp) == match)
|
||||
if (SP_TAG1(actor) == SECT_ROTATOR && SP_TAG2(fsp) == match)
|
||||
{
|
||||
fu = actor->u();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue