mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-21 08:51:30 +00:00
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:
parent
e229008b72
commit
7d53e6ebf2
1 changed files with 7 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue