Extended hitbox feature from devel.

This commit is contained in:
Mari the Deer 2022-03-27 15:29:24 +02:00
commit 8bb133cfc6
8 changed files with 52 additions and 3 deletions

View file

@ -47,6 +47,14 @@ Class SWWMWeapon : Weapon abstract
return null;
}
override void BeginPlay()
{
Super.BeginPlay();
if ( !swwm_extendedpickup ) return;
let box = Spawn("SWWMExtendedItemHitbox",pos);
box.master = self;
}
override void Touch( Actor toucher )
{
// show prompt to swap weapon, and prevent normal pickup