aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Examples
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2013-02-19 17:35:27 +0100
committerShauren <shauren.trinity@gmail.com>2013-02-19 17:35:27 +0100
commit5b414bb81343c7b9fad9f3974021ff0c9e1c739a (patch)
tree745e716326f1a3ec650773769d7e822410053dff /src/server/scripts/Examples
parent6b63a98ab0b2fe6f8c297eb3a4da9571cf8385d9 (diff)
Core/Scripts: Removed useless const modifier on method parameters accepting primitive types passed by value
Diffstat (limited to 'src/server/scripts/Examples')
-rw-r--r--src/server/scripts/Examples/example_creature.cpp2
-rw-r--r--src/server/scripts/Examples/example_escort.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Examples/example_creature.cpp b/src/server/scripts/Examples/example_creature.cpp
index f82782448ea..d4e1b8d8ce2 100644
--- a/src/server/scripts/Examples/example_creature.cpp
+++ b/src/server/scripts/Examples/example_creature.cpp
@@ -165,7 +165,7 @@ class example_creature : public CreatureScript
// *** HANDLED FUNCTION ***
//Update AI is called Every single map update (roughly once every 50ms if a player is within the grid)
- void UpdateAI(const uint32 uiDiff)
+ void UpdateAI(uint32 uiDiff)
{
//Out of combat timers
if (!me->getVictim())
diff --git a/src/server/scripts/Examples/example_escort.cpp b/src/server/scripts/Examples/example_escort.cpp
index a7906c4359a..e911736036c 100644
--- a/src/server/scripts/Examples/example_escort.cpp
+++ b/src/server/scripts/Examples/example_escort.cpp
@@ -136,7 +136,7 @@ class example_escort : public CreatureScript
Talk(SAY_DEATH_3);
}
- void UpdateAI(const uint32 uiDiff)
+ void UpdateAI(uint32 uiDiff)
{
//Must update npc_escortAI
npc_escortAI::UpdateAI(uiDiff);