Moved code hacks for waste3 to waste3.ent and addressed more issues with that map

This commit is contained in:
BjossiAlfreds 2021-12-11 14:02:09 +00:00
parent aa0ad74e06
commit 65b1cd167c
3 changed files with 4544 additions and 23 deletions

View file

@ -1841,13 +1841,6 @@ SP_func_door(edict_t *ent)
{
ent->think = Think_SpawnDoorTrigger;
}
/* Map quirk for waste3 (to make that secret armor behind
* the secret wall - this func_door - count, #182) */
if (Q_stricmp(level.mapname, "waste3") == 0 && Q_stricmp(ent->model, "*12") == 0)
{
ent->target = "t117";
}
}
/*

View file

@ -259,22 +259,6 @@ SP_CreateUnnamedSpawn(edict_t *self)
}
}
/* waste3 */
if (Q_stricmp(level.mapname, "waste3") == 0)
{
if (Q_stricmp(self->targetname, "waste2") == 0)
{
spot->classname = self->classname;
spot->s.origin[0] = self->s.origin[0];
spot->s.origin[1] = self->s.origin[1];
spot->s.origin[2] = self->s.origin[2];
spot->s.angles[1] = self->s.angles[1];
spot->targetname = NULL;
return;
}
}
/* city3 */
if (Q_stricmp(level.mapname, "city2") == 0)
{

File diff suppressed because it is too large Load diff