0
0
Fork 0
mirror of https://github.com/ZDoom/gzdoom.git synced 2025-04-21 10:20:46 +00:00

- fixed: The PrisonPass's TryPickup method did not properly report successful pickup.

This commit is contained in:
Christoph Oelckers 2021-05-17 11:51:06 +02:00
parent e47671c865
commit ebbc94280e

View file

@ -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;
}
//============================================================================