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

Correct plAvatar fixes.

This commit is contained in:
Darryl Pogue
2013-01-28 23:14:23 -08:00
parent 690490afa6
commit c7e2b7a90f
3 changed files with 5 additions and 9 deletions

View File

@ -157,8 +157,7 @@ void plAvTask::IUndoLimitPlayersInput(plArmatureMod *avatar)
// CTOR default
plAvSeekTask::plAvSeekTask()
: fAnimName(nil),
fAlign(kAlignHandle),
: fAlign(kAlignHandle),
fDuration(0.25),
fTarget(nil),
fAnimInstance(nil),
@ -170,7 +169,8 @@ plAvSeekTask::plAvSeekTask()
// CTOR target, align, animName
plAvSeekTask::plAvSeekTask(plKey target, plAvAlignment align, const plString& animName)
: fAlign(align),
: fAnimName(animName),
fAlign(align),
fDuration(0.25),
fTarget(target),
fAnimInstance(nil),

View File

@ -327,7 +327,7 @@ void plCoopCoordinator::IStartGuest()
const plSceneObject *targetBone = hostAv->FindBone(fSynchBone);
if(targetBone)
{
plAvSeekMsg *seekMsg = new plAvSeekMsg( nil, nil,targetBone->GetKey(), 0, true, kAlignHandle, nil, false, plAvSeekMsg::kSeekFlagNoWarpOnTimeout, GetKey());
plAvSeekMsg *seekMsg = new plAvSeekMsg( nil, nil,targetBone->GetKey(), 0, true, kAlignHandle, "", false, plAvSeekMsg::kSeekFlagNoWarpOnTimeout, GetKey());
plAvTaskSeek *seekT = new plAvTaskSeek(seekMsg);
plAvTaskMsg *seekM = new plAvTaskMsg(GetKey(), fGuestKey, seekT);
seekM->SetBCastFlag(plMessage::kPropagateToModifiers);

View File

@ -353,11 +353,7 @@ plAvBrainGeneric *plSittingModifier::IBuildSitBrain(plKey avModKey, plKey seekKe
brain->AddStage(sitStage);
brain->AddStage(idleStage);
brain->AddStage(standStage);
#if HS_BUILD_FOR_WIN32
*pAnimName = _strdup(sitAnimName);
#else
*pAnimName = strdup(sitAnimName);
#endif
*pAnimName = sitAnimName;
brain->SetType(plAvBrainGeneric::kSit);
brain->SetRecipient(GetKey());