fix: default attachments
This commit is contained in:
parent
6948bdb866
commit
b52205b148
@ -3,7 +3,7 @@ Class ExtCharDataInfo extends Object
|
|||||||
perobjectconfig
|
perobjectconfig
|
||||||
DependsOn(ExtPlayerReplicationInfo);
|
DependsOn(ExtPlayerReplicationInfo);
|
||||||
|
|
||||||
var config byte HeadMeshIndex,HeadSkinIndex,BodyMeshIndex,BodySkinIndex,AttachmentMesh0,AttachmentSkin0,AttachmentMesh1,AttachmentSkin1,AttachmentMesh2,AttachmentSkin2,HasInit;
|
var config int HeadMeshIndex,HeadSkinIndex,BodyMeshIndex,BodySkinIndex,AttachmentMesh0,AttachmentSkin0,AttachmentMesh1,AttachmentSkin1,AttachmentMesh2,AttachmentSkin2,HasInit;
|
||||||
|
|
||||||
final function FMyCustomChar LoadData()
|
final function FMyCustomChar LoadData()
|
||||||
{
|
{
|
||||||
@ -11,9 +11,9 @@ final function FMyCustomChar LoadData()
|
|||||||
|
|
||||||
if (HasInit==0)
|
if (HasInit==0)
|
||||||
{
|
{
|
||||||
AttachmentMesh0 = 255;
|
AttachmentMesh0 = `CLEARED_ATTACHMENT_INDEX;
|
||||||
AttachmentMesh1 = 255;
|
AttachmentMesh1 = `CLEARED_ATTACHMENT_INDEX;
|
||||||
AttachmentMesh2 = 255;
|
AttachmentMesh2 = `CLEARED_ATTACHMENT_INDEX;
|
||||||
}
|
}
|
||||||
R.HeadMeshIndex = HeadMeshIndex;
|
R.HeadMeshIndex = HeadMeshIndex;
|
||||||
R.HeadSkinIndex = HeadSkinIndex;
|
R.HeadSkinIndex = HeadSkinIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user