Core/Scripts: Removed useless const modifier on method parameters accepting primitive types passed by value
This commit is contained in:
1 parent
6b63a98ab0
commit
5b414bb813
446 files changed
+1147
-1147
No files matched your search
@@ -70,7 +70,7 @@ public:
|
||||
DoCast(who, spell->Id);
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
void UpdateAI(uint32 diff)
|
||||
{
|
||||
//Always decrease our global cooldown first
|
||||
if (globalCooldown > diff)
|
||||
@@ -273,7 +273,7 @@ public:
|
||||
canTeleport = false;
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
void UpdateAI(uint32 diff)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
@@ -338,7 +338,7 @@ public:
|
||||
canTeleport = false;
|
||||
}
|
||||
|
||||
void UpdateAI(const uint32 diff)
|
||||
void UpdateAI(uint32 diff)
|
||||
{
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user