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:
Spoike 2004-11-19 17:44:33 +00:00
parent 64182c848a
commit 31e43d1021
1 changed files with 13 additions and 1 deletions

View File

@ -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");