Permalink
Browse files

game: func_tramcar is obsolete - see ET changelog

  • Loading branch information...
IR4T4 committed Oct 12, 2017
1 parent b5940d9 commit 4c0d015f130c8ee1a81c7c330ce7eec5e01f0a4e
Showing with 0 additions and 17 deletions.
  1. +0 −17 src/game/g_main.c
View
@@ -1692,18 +1692,6 @@ void G_FindTeams(void)
continue;
}
if (!Q_stricmp(e->classname, "func_tramcar"))
{
if (e->spawnflags & 8) // leader
{
e->teammaster = e;
}
else
{
continue;
}
}
c++;
c2++;
for (j = i + 1, e2 = e + 1 ; j < level.num_entities ; j++, e2++)
@@ -1729,11 +1717,6 @@ void G_FindTeams(void)
//e2->key = e->key; // I can't set the key here since the master door hasn't finished spawning yet and therefore has a key of -1
e2->flags |= FL_TEAMSLAVE;
if (!Q_stricmp(e2->classname, "func_tramcar"))
{
trap_UnlinkEntity(e2);
}
// make sure that targets only point at the master
if (e2->targetname)
{

0 comments on commit 4c0d015

Please sign in to comment.