1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 04:09:16 +00:00

Get rid of clang warnings in plAvatar.

This commit is contained in:
Darryl Pogue
2013-01-05 21:48:03 -08:00
parent 33d26ce29f
commit 2af0a7f56e
21 changed files with 95 additions and 79 deletions

View File

@ -632,10 +632,11 @@ void plClothingOutfit::IAddItem(plClothingItem *item)
for (i = 0; i < num; i++)
{
if (soundEffect = plArmatureEffectFootSound::ConvertNoRef(mgr->GetEffect(i)))
soundEffect = plArmatureEffectFootSound::ConvertNoRef(mgr->GetEffect(i));
if (soundEffect)
break;
}
if (soundEffect)
{
if (!strcmp(item->fName, "03_MLFoot04_01") || !strcmp(item->fName, "03_FLFoot04_01"))
@ -1533,7 +1534,7 @@ plClothingLayout *plClothingMgr::GetLayout(char *name)
return nil;
}
plClothingElement *plClothingMgr::FindElementByName(char *name)
plClothingElement *plClothingMgr::FindElementByName(const char *name)
{
int i;
for (i = 0; i < fElements.GetCount(); i++)