class sgShrinkerTimer expands Inventory;

event PostBeginPlay()
{
	ResizeWeapons(true);
	Super.PostBeginPlay();
	SetTimer(1, True);
}

function Timer()
{
	ResizeWeapons(true);
}

function ResizeWeapons( bool bShrink)
{
local Inventory Inv;
local Pawn P;

	P = Pawn(Owner);
	if (P != None)
	{
		for( Inv=P.Inventory; Inv!=None; Inv=Inv.Inventory )
		{
			if (Weapon(Inv) != None)
			{
				if (bShrink)
					Inv.ThirdPersonScale = P.DrawScale;
				else
					Inv.ThirdPersonScale = Inv.default.ThirdPersonScale;
			}
		}
	}
}
defaultproperties
{
}
