Alert users about invalid render settings.

Fix use to pickup potentially affecting respawnable items.
Small code redistribution.
This commit is contained in:
Mari the Deer 2021-09-27 12:28:09 +02:00
commit cdb2aa773f
7 changed files with 320 additions and 297 deletions

View file

@ -59,6 +59,8 @@ Mixin Class SWWMUseToPickup
// allow pickup by use
override bool Used( Actor user )
{
// can't pick up
if ( !bSPECIAL ) return false;
// no use through melee
if ( (user.player.ReadyWeapon is 'SWWMWeapon') && SWWMWeapon(user.player.ReadyWeapon).wallponch && !swwm_meleepickup )
return false;