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:
@ -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),
|
||||
|
@ -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);
|
||||
|
@ -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());
|
||||
|
Reference in New Issue
Block a user