mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
[10600] Correct size of animprogress for GO Create()
Add a default define and use it instead of hard coded value. Some additional minor corrections for transport GO's Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
0205adfde1
commit
2fe45365c0
9 changed files with 28 additions and 21 deletions
|
|
@ -3800,7 +3800,7 @@ void Aura::HandleAuraModStun(bool apply, bool Real)
|
|||
{
|
||||
GameObject* pObj = new GameObject;
|
||||
if(pObj->Create(sObjectMgr.GenerateLowGuid(HIGHGUID_GAMEOBJECT), 185584, target->GetMap(), target->GetPhaseMask(),
|
||||
target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), target->GetOrientation(), 0.0f, 0.0f, 0.0f, 0.0f, 100, GO_STATE_READY))
|
||||
target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), target->GetOrientation(), 0.0f, 0.0f, 0.0f, 0.0f, GO_ANIMPROGRESS_DEFAULT, GO_STATE_READY))
|
||||
{
|
||||
pObj->SetRespawnTime(GetAuraDuration()/IN_MILLISECONDS);
|
||||
pObj->SetSpellId(GetId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue