mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-18 22:19:54 -04:00
Core/Entities: Use ObjectGuid class in game project
This commit is contained in:
@@ -280,7 +280,7 @@ public:
|
||||
{
|
||||
banishTimer = 5000;
|
||||
exileTimer = 8500;
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
canTeleport = false;
|
||||
}
|
||||
|
||||
@@ -303,7 +303,7 @@ public:
|
||||
temp->CastSpell(temp, SPELL_EXILE, true);
|
||||
temp->CastSpell(temp, SPELL_BANISH_TELEPORT, true);
|
||||
}
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
exileTimer = 8500;
|
||||
canTeleport = false;
|
||||
} else exileTimer -= diff;
|
||||
@@ -327,7 +327,7 @@ public:
|
||||
private:
|
||||
uint32 exileTimer;
|
||||
uint32 banishTimer;
|
||||
uint64 playerGUID;
|
||||
ObjectGuid playerGUID;
|
||||
bool canTeleport;
|
||||
};
|
||||
|
||||
@@ -353,7 +353,7 @@ public:
|
||||
{
|
||||
banishTimer = 5000;
|
||||
exileTimer = 8500;
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
canTeleport = false;
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ public:
|
||||
temp->CastSpell(temp, SPELL_EXILE, true);
|
||||
temp->CastSpell(temp, SPELL_BANISH_TELEPORT, true);
|
||||
}
|
||||
playerGUID = 0;
|
||||
playerGUID.Clear();
|
||||
exileTimer = 8500;
|
||||
canTeleport = false;
|
||||
} else exileTimer -= diff;
|
||||
@@ -399,7 +399,7 @@ public:
|
||||
private:
|
||||
uint32 exileTimer;
|
||||
uint32 banishTimer;
|
||||
uint64 playerGUID;
|
||||
ObjectGuid playerGUID;
|
||||
bool canTeleport;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user