mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-22 12:41:21 +00:00
Merge pull request #774 from BjossiAlfreds/waste3-fixes
Moved code hacks for waste3 to waste3.ent
This commit is contained in:
commit
f32d1e2ed7
3 changed files with 4554 additions and 23 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
4554
stuff/mapfixes/baseq2/waste3.ent
Normal file
4554
stuff/mapfixes/baseq2/waste3.ent
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue