mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 18:42:26 +00:00
- Blood: fixed wrong actor being used for key checks
This commit is contained in:
parent
0375dfdf83
commit
87cace6e6c
1 changed files with 3 additions and 3 deletions
|
@ -1733,9 +1733,9 @@ void ProcessInput(PLAYER* pPlayer)
|
|||
case 3:
|
||||
{
|
||||
auto act = result.actor();
|
||||
int key = actor->xspr.key;
|
||||
if (actor->xspr.locked && pPlayer == gMe && actor->xspr.lockMsg)
|
||||
trTextOver(actor->xspr.lockMsg);
|
||||
int key = act->xspr.key;
|
||||
if (actor->xspr.locked && pPlayer == gMe && act->xspr.lockMsg)
|
||||
trTextOver(act->xspr.lockMsg);
|
||||
if (!key || pPlayer->hasKey[key])
|
||||
trTriggerSprite(act, kCmdSpritePush);
|
||||
else if (pPlayer == gMe)
|
||||
|
|
Loading…
Reference in a new issue