mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 08:01:50 +00:00
- fixed: The PrisonPass's TryPickup method did not properly report successful pickup.
This commit is contained in:
parent
e47671c865
commit
ebbc94280e
1 changed files with 2 additions and 2 deletions
|
@ -559,10 +559,10 @@ class PrisonPass : Key
|
|||
|
||||
override bool TryPickup (in out Actor toucher)
|
||||
{
|
||||
Super.TryPickup (toucher);
|
||||
bool res = Super.TryPickup (toucher);
|
||||
Door_Open(223, 16);
|
||||
toucher.GiveInventoryType ("QuestItem10");
|
||||
return true;
|
||||
return res;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
|
|
Loading…
Reference in a new issue