wtfbbqhax / tremulous

:godmode: Modern modular idTech3 based engine, Tremulous

Home Page:http://wtfbbqhax.github.io/tremulous/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wat?

wtfbbqhax opened this issue · comments

src/game/g_active.c:G_TouchTriggers

357        // ignore most entities if a spectator
   1     if( ent->client->sess.spectatorState != SPECTATOR_NOT )
   2     {
   3       if( hit->s.eType != ET_TELEPORT_TRIGGER &&
   4           // this is ugly but adding a new ET_? type will
   5           // most likely cause network incompatibilities
   6           hit->touch != Touch_DoorTrigger )
   7       {
   8         //check for manually triggered doors
   9         manualTriggerSpectator( hit, ent );
  10         continue;
  11       }
  12     }