Fix extended hitboxes breaking dual-weapon givers.
This commit is contained in:
parent
c257750f9d
commit
b4f81fa4e3
6 changed files with 18 additions and 5 deletions
|
|
@ -493,6 +493,14 @@ Class SWWMDualWeaponGiver : Inventory
|
|||
FloatBobStrength 0.25;
|
||||
}
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue