remove unused code
This commit is contained in:
parent
1a5d415ecb
commit
a2b35c0cf9
@ -573,7 +573,6 @@ static final function DetachConflictingAttachments(KFCharacterInfo_Human C, int
|
||||
/** Assign an arm mesh and material to this pawn */
|
||||
static final function SetFirstPersonArmsFromArch(KFCharacterInfo_Human C, KFPawn KFP, optional KFPlayerReplicationInfo KFPRI)
|
||||
{
|
||||
local MaterialInstanceConstant M;
|
||||
local ExtPlayerReplicationInfo EPRI;
|
||||
local bool bCustom;
|
||||
local int AttachmentIdx, CosmeticMeshIdx;
|
||||
@ -607,12 +606,6 @@ static final function SetFirstPersonArmsFromArch(KFCharacterInfo_Human C, KFPawn
|
||||
KFP, KFPRI, true);
|
||||
}
|
||||
}
|
||||
|
||||
// Hack fix for a material bug on KF2
|
||||
if (bCustom && KFP.ArmsMesh.SkeletalMesh!=None && KFP.ArmsMesh.GetMaterial(0)!=None)
|
||||
{
|
||||
M = KFP.ArmsMesh.CreateAndSetMaterialInstanceConstant(0);
|
||||
}
|
||||
}
|
||||
|
||||
static function int GetAttachmentSlotIndex(
|
||||
|
Loading…
Reference in New Issue
Block a user