Core/Entities: Use ObjectGuid class in game project
This commit is contained in:
1 parent
ce67a097bf
commit
a0e50ea35f
256 files changed
+3334
-3833
No files matched your search
@@ -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