Fix yellow keycards

git-svn-id: https://svn.eduke32.com/eduke32@4297 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-02-02 22:18:35 +00:00
parent 482b36521d
commit f0da70b4c1

View file

@ -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
};
for (pp=0; pp<2; pp++)
for (pp=0; pp<3; pp++)
if (switchpal == key_switchpal[pp])
{
if (g_player[snum].ps->got_access & (1<<pp))