mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 12:47:54 +00:00
mob constructor converted to xyz_heading
This commit is contained in:
+1
-7
@@ -43,7 +43,7 @@ extern Zone* zone;
|
||||
Beacon::Beacon(Mob *at_mob, int lifetime)
|
||||
:Mob
|
||||
(
|
||||
nullptr, nullptr, 0, 0, 0, INVISIBLE_MAN, 0, BT_NoTarget, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
|
||||
nullptr, nullptr, 0, 0, 0, INVISIBLE_MAN, 0, BT_NoTarget, 0, 0, 0, 0, 0, at_mob->GetPosition(), 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
),
|
||||
remove_timer(lifetime),
|
||||
@@ -57,12 +57,6 @@ Beacon::Beacon(Mob *at_mob, int lifetime)
|
||||
spell_iterations = 0;
|
||||
caster_id = 0;
|
||||
|
||||
// copy location
|
||||
m_Position.m_X = at_mob->GetX();
|
||||
m_Position.m_Y = at_mob->GetY();
|
||||
m_Position.m_Z = at_mob->GetZ();
|
||||
m_Position.m_Heading = at_mob->GetHeading();
|
||||
|
||||
if(lifetime)
|
||||
{
|
||||
remove_timer.Start();
|
||||
|
||||
Reference in New Issue
Block a user