git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4682 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
45d04950c1
commit
854c56d9c0
1 changed files with 6 additions and 0 deletions
|
@ -5388,7 +5388,9 @@ void CL_ParsePortalState(void)
|
||||||
a1 = MSG_ReadShort();
|
a1 = MSG_ReadShort();
|
||||||
else
|
else
|
||||||
a1 = MSG_ReadByte();
|
a1 = MSG_ReadByte();
|
||||||
|
#ifdef Q2BSPS
|
||||||
CMQ2_SetAreaPortalState(a1, !!(mode&1));
|
CMQ2_SetAreaPortalState(a1, !!(mode&1));
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case 0xc0:
|
case 0xc0:
|
||||||
if (mode&2)
|
if (mode&2)
|
||||||
|
@ -5401,13 +5403,17 @@ void CL_ParsePortalState(void)
|
||||||
a1 = MSG_ReadByte();
|
a1 = MSG_ReadByte();
|
||||||
a2 = MSG_ReadByte();
|
a2 = MSG_ReadByte();
|
||||||
}
|
}
|
||||||
|
#ifdef Q3BSPS
|
||||||
CMQ3_SetAreaPortalState(a1, a2, !!(mode&1));
|
CMQ3_SetAreaPortalState(a1, a2, !!(mode&1));
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
//to be phased out.
|
//to be phased out.
|
||||||
mode |= MSG_ReadByte()<<8;
|
mode |= MSG_ReadByte()<<8;
|
||||||
|
#ifdef Q2BSPS
|
||||||
CMQ2_SetAreaPortalState(mode & 0x7fff, !!(mode&0x8000));
|
CMQ2_SetAreaPortalState(mode & 0x7fff, !!(mode&0x8000));
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue