mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[10052] Camera System
(based on SilverIce's repo commit 4f2f4ab + next 3 more) Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
f520c9b1e0
commit
e427ce80cc
27 changed files with 515 additions and 207 deletions
|
|
@ -4244,7 +4244,8 @@ void Spell::EffectAddFarsight(SpellEffectIndex eff_idx)
|
|||
dynObj->SetUInt32Value(DYNAMICOBJECT_BYTES, 0x80000002);
|
||||
m_caster->AddDynObject(dynObj);
|
||||
m_caster->GetMap()->Add(dynObj);
|
||||
((Player*)m_caster)->SetFarSightGUID(dynObj->GetGUID());
|
||||
|
||||
((Player*)m_caster)->GetCamera().SetView(dynObj);
|
||||
}
|
||||
|
||||
void Spell::DoSummonWild(SpellEffectIndex eff_idx, uint32 forceFaction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue