From ae8d1d39bb2c7c5810371d46fe512dfb38094788 Mon Sep 17 00:00:00 2001 From: Skoader Date: Tue, 23 Oct 2012 14:22:22 +1100 Subject: [PATCH] Fix intermittent spawn bug Flush the transform when avatars are explicitly spawned on load. e.g. Ahnonay quabs. --- .../Sources/Plasma/PubUtilLib/plAvatar/plArmatureMod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plAvatar/plArmatureMod.cpp b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plAvatar/plArmatureMod.cpp index 8f879739..ba6f6949 100644 --- a/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plAvatar/plArmatureMod.cpp +++ b/MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/PubUtilLib/plAvatar/plArmatureMod.cpp @@ -1302,7 +1302,7 @@ hsBool plArmatureMod::MsgReceive(plMessage* msg) if(spawnSO) { hsMatrix44 l2w = spawnSO->GetLocalToWorld(); - plWarpMsg *warpM = TRACKED_NEW plWarpMsg(nil, GetTarget(0)->GetKey(), 0, l2w); + plWarpMsg *warpM = TRACKED_NEW plWarpMsg(nil, GetTarget(0)->GetKey(), plWarpMsg::kFlushTransform, l2w); warpM->Send(); fWaitFlags &= ~kNeedSpawn; }