mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-18 19:29:09 +00:00
Fix some warnings and some errors.
This commit is contained in:
@ -728,7 +728,7 @@ plArmatureMod* plAvatarMgr::FindAvatarByPlayerID(uint32_t pid)
|
||||
return nil;
|
||||
}
|
||||
|
||||
plArmatureMod *plAvatarMgr::FindAvatarByModelName(char *name)
|
||||
plArmatureMod *plAvatarMgr::FindAvatarByModelName(const plString& name)
|
||||
{
|
||||
plAvatarVec::iterator it;
|
||||
for (it = fAvatars.begin(); it != fAvatars.end(); ++it)
|
||||
|
@ -140,7 +140,7 @@ public:
|
||||
plKey GetLocalAvatarKey();
|
||||
static plArmatureMod *FindAvatar(plKey& avatarKey); // Key of the sceneObject
|
||||
plArmatureMod *FindAvatarByPlayerID(uint32_t pid);
|
||||
plArmatureMod *FindAvatarByModelName(char *name); // Probably only useful for custom NPCs. All players are
|
||||
plArmatureMod *FindAvatarByModelName(const plString& name); // Probably only useful for custom NPCs. All players are
|
||||
// either "Male" or "Female".
|
||||
void FindAllAvatarsByModelName(const char* name, plArmatureModPtrVec& outVec);
|
||||
plArmatureMod *GetFirstRemoteAvatar();
|
||||
|
Reference in New Issue
Block a user