1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

I did it wrooong

This commit is contained in:
Florian Meißner
2014-02-02 09:40:32 +01:00
parent 22f1be0542
commit 7a59dbae41

View File

@ -374,10 +374,12 @@ bool cyAvatar::RunCoopAnim(pyKey& targetKey, plString activeAvatarAnim, plString
// get the participating avatars
plArmatureMod* activeAv = plAvatarMgr::FindAvatar(fRecvr[0]);
plArmatureMod* targetAv = plAvatarMgr::FindAvatar(targetKey.getKey());
activeAvatarAnim = activeAv->MakeAnimationName(activeAvatarAnim);
targetAvatarAnim = targetAv->MakeAnimationName(targetAvatarAnim);
if (activeAv && targetAv) {
// build the gender-specific animation name
activeAvatarAnim = activeAv->MakeAnimationName(activeAvatarAnim);
targetAvatarAnim = targetAv->MakeAnimationName(targetAvatarAnim);
// set seek position and rotation of the avatars
hsPoint3 avPos, targetPos;
activeAv->GetPositionAndRotationSim(&avPos, nullptr);