mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 03:00:38 +00:00
Fix yellow keycards
git-svn-id: https://svn.eduke32.com/eduke32@4297 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
482b36521d
commit
f0da70b4c1
1 changed files with 1 additions and 1 deletions
|
@ -1209,7 +1209,7 @@ int32_t P_ActivateSwitch(int32_t snum, int32_t w, int32_t switchissprite)
|
||||||
QUOTE_NEED_BLUE_KEY, QUOTE_NEED_RED_KEY, QUOTE_NEED_YELLOW_KEY
|
QUOTE_NEED_BLUE_KEY, QUOTE_NEED_RED_KEY, QUOTE_NEED_YELLOW_KEY
|
||||||
};
|
};
|
||||||
|
|
||||||
for (pp=0; pp<2; pp++)
|
for (pp=0; pp<3; pp++)
|
||||||
if (switchpal == key_switchpal[pp])
|
if (switchpal == key_switchpal[pp])
|
||||||
{
|
{
|
||||||
if (g_player[snum].ps->got_access & (1<<pp))
|
if (g_player[snum].ps->got_access & (1<<pp))
|
||||||
|
|
Loading…
Reference in a new issue