mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Add functions for writing and reading avatar clothing files
This also introduces a filename member in plClothingOutfit so it can determine whether to read the clothing information from the file or the vault.
This commit is contained in:
@ -193,8 +193,10 @@ void plAvBrainHuman::Activate(plArmatureModBase *avMod)
|
||||
|
||||
if (fAvMod->GetClothingOutfit() && fAvMod->GetClothingOutfit()->fGroup != plClothingMgr::kClothingBaseNoOptions)
|
||||
{
|
||||
if (fAvMod->IsLocalAvatar())
|
||||
fAvMod->GetClothingOutfit()->ReadFromVault();
|
||||
if (fAvMod->IsLocalAvatar())
|
||||
{
|
||||
fAvMod->GetClothingOutfit()->ReadClothing();
|
||||
}
|
||||
else
|
||||
{
|
||||
fAvMod->GetClothingOutfit()->WearDefaultClothing();
|
||||
|
Reference in New Issue
Block a user