Quirk map bug in waste3 (secret not counted)

there's a target_secret (with targetname "t117"), but no one triggers
it - that's why the help computer shows four secrets, but you can only
get three of them.
Now when you open the door in front of the hidden secret armor
(by shooting it), it'll trigger the target_secret and you can get all
four secrets.

fixes #182
This commit is contained in:
Daniel Gibson 2017-04-15 18:38:09 +02:00
parent e229008b72
commit 7d53e6ebf2

View file

@ -1814,6 +1814,13 @@ 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";
}
}
/*