aboutsummaryrefslogtreecommitdiff
path: root/src/scripts/examples/example_misc.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-19 09:26:37 +0200
committerSpp <none@none>2010-04-19 09:26:37 +0200
commit74dd02d024007c3a09219177fabfe9010b1bce63 (patch)
tree041286f1a0a20c9714199b03c60808d3b7291e48 /src/scripts/examples/example_misc.cpp
parentfdd8d2f3cc7108043f6bad036b994770f904866f (diff)
Remove LOTS of compile warnings
--HG-- branch : trunk
Diffstat (limited to 'src/scripts/examples/example_misc.cpp')
-rw-r--r--src/scripts/examples/example_misc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/examples/example_misc.cpp b/src/scripts/examples/example_misc.cpp
index e26220bfbb3..3c96cc0bae7 100644
--- a/src/scripts/examples/example_misc.cpp
+++ b/src/scripts/examples/example_misc.cpp
@@ -29,20 +29,20 @@ enum eSay
SAY_HI = -1999925
};
-bool AT_example_areatrigger(Player* pPlayer, const AreaTriggerEntry *pAt)
+bool AT_example_areatrigger(Player* pPlayer, const AreaTriggerEntry * /*pAt*/)
{
DoScriptText(SAY_HI, pPlayer);
return true;
}
extern void LoadDatabase();
-bool ItemUse_example_item(Player* pPlayer, Item* pItem, SpellCastTargets const& scTargets)
+bool ItemUse_example_item(Player* /*pPlayer*/, Item* /*pItem*/, SpellCastTargets const& /*scTargets*/)
{
sScriptMgr.LoadDatabase();
return true;
}
-bool GOHello_example_go_teleporter(Player* pPlayer, GameObject* pGo)
+bool GOHello_example_go_teleporter(Player* pPlayer, GameObject* /*pGo*/)
{
pPlayer->TeleportTo(0, 1807.07f, 336.105f, 70.3975f, 0.0f);
return false;