mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-05 08:47:48 +00:00
refactor(Core): Make ObjectGuid const (#23170)
* cherry-pick commit (a7883380ce)
Co-Authored-By: Lucas Nascimento <keader.android@gmail.com>
This commit is contained in:
@@ -250,7 +250,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void SetGUID(ObjectGuid const guid, int32 type) override
|
||||
void SetGUID(ObjectGuid const& guid, int32 type) override
|
||||
{
|
||||
if (type == ACTION_CHARGE)
|
||||
{
|
||||
@@ -564,7 +564,7 @@ public:
|
||||
RevivePlayer(victim, reviveGUID);
|
||||
}
|
||||
|
||||
void SetGUID(ObjectGuid const guid, int32 /*type = 0 */) override
|
||||
void SetGUID(ObjectGuid const& guid, int32 /*type = 0 */) override
|
||||
{
|
||||
reviveGUID = guid;
|
||||
}
|
||||
@@ -612,7 +612,7 @@ public:
|
||||
revivePlayerGUID.Clear();
|
||||
}
|
||||
|
||||
void SetGUID(ObjectGuid const guid, int32 /*id*/) override
|
||||
void SetGUID(ObjectGuid const& guid, int32 /*id*/) override
|
||||
{
|
||||
revivePlayerGUID = guid;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user