Merge pull request #774 from BjossiAlfreds/waste3-fixes

Moved code hacks for waste3 to waste3.ent
This commit is contained in:
Yamagi 2021-12-11 19:07:33 +01:00 committed by GitHub
commit f32d1e2ed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4554 additions and 23 deletions

View file

@ -1841,13 +1841,6 @@ SP_func_door(edict_t *ent)
{ {
ent->think = Think_SpawnDoorTrigger; 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 */ /* city3 */
if (Q_stricmp(level.mapname, "city2") == 0) if (Q_stricmp(level.mapname, "city2") == 0)
{ {

File diff suppressed because it is too large Load diff