mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 22:51:57 +00:00
It now knows how NQ mods can set TE_ effects 76 and 79
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@477 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
64182c848a
commit
31e43d1021
1 changed files with 13 additions and 1 deletions
|
@ -384,7 +384,7 @@ void NPP_NQWriteByte(int dest, qbyte data) //replacement write func (nq to qw)
|
|||
break;
|
||||
case TE_RAILTRAIL:
|
||||
protocollen = sizeofcoord*6+sizeof(qbyte)*1;
|
||||
multicastpos=1;
|
||||
multicastpos=2;
|
||||
multicasttype=MULTICAST_PHS;
|
||||
break;
|
||||
case TE_STREAM_CHAIN:
|
||||
|
@ -404,6 +404,18 @@ void NPP_NQWriteByte(int dest, qbyte data) //replacement write func (nq to qw)
|
|||
multicasttype=MULTICAST_PHS;
|
||||
break;
|
||||
|
||||
case 76:
|
||||
protocollen = sizeofcoord*9+sizeof(qbyte)*2;
|
||||
multicastpos = 2;
|
||||
multicasttype=MULTICAST_PHS;
|
||||
break;
|
||||
|
||||
case 79:
|
||||
protocollen = sizeofcoord*6+sizeof(qbyte)*3;
|
||||
multicastpos = 1;
|
||||
multicasttype=MULTICAST_PHS;
|
||||
break;
|
||||
|
||||
default:
|
||||
protocollen = sizeof(buffer);
|
||||
Con_Printf("bad tempentity\n");
|
||||
|
|
Loading…
Reference in a new issue