git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4682 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2014-06-08 04:59:00 +00:00
parent 45d04950c1
commit 854c56d9c0
1 changed files with 6 additions and 0 deletions

View File

@ -5388,7 +5388,9 @@ void CL_ParsePortalState(void)
a1 = MSG_ReadShort();
else
a1 = MSG_ReadByte();
#ifdef Q2BSPS
CMQ2_SetAreaPortalState(a1, !!(mode&1));
#endif
break;
case 0xc0:
if (mode&2)
@ -5401,13 +5403,17 @@ void CL_ParsePortalState(void)
a1 = MSG_ReadByte();
a2 = MSG_ReadByte();
}
#ifdef Q3BSPS
CMQ3_SetAreaPortalState(a1, a2, !!(mode&1));
#endif
break;
default:
//to be phased out.
mode |= MSG_ReadByte()<<8;
#ifdef Q2BSPS
CMQ2_SetAreaPortalState(mode & 0x7fff, !!(mode&0x8000));
#endif
break;
}
}