Core/Players: Send only values update when turning gm mode on or accepting quests instead of recreating the object clientside

This commit is contained in:
Shauren
2013-05-28 15:19:37 +02:00
parent 80226fb38f
commit 99680242e8
+2 -2
View File
@@ -22238,7 +22238,7 @@ void Player::UpdateTriggerVisibility()
if (!obj || !(obj->isTrigger() || obj->HasAuraType(SPELL_AURA_TRANSFORM))) // can transform into triggers
continue;
obj->BuildCreateUpdateBlockForPlayer(&udata, this);
obj->BuildValuesUpdateBlockForPlayer(&udata, this);
}
}
@@ -23225,7 +23225,7 @@ void Player::UpdateForQuestWorldObjects()
if (buildUpdateBlock)
{
obj->BuildCreateUpdateBlockForPlayer(&udata, this);
obj->BuildValuesUpdateBlockForPlayer(&udata, this);
break;
}
}