mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 07:12:36 +00:00
Items set to stay or respawn no longer get picked up locally
This commit is contained in:
parent
e64e33f4a7
commit
c90a3290fe
1 changed files with 1 additions and 1 deletions
|
@ -781,7 +781,7 @@ class Inventory : Actor
|
||||||
if (HasPickedUpLocally(toucher))
|
if (HasPickedUpLocally(toucher))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
localPickUp = CanPickUpLocally(toucher);
|
localPickUp = CanPickUpLocally(toucher) && !ShouldStay() && !ShouldRespawn();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool localview = toucher.CheckLocalView();
|
bool localview = toucher.CheckLocalView();
|
||||||
|
|
Loading…
Reference in a new issue