Remove LOTS of compile warnings

--HG--
branch : trunk
This commit is contained in:
Spp committed 2010-04-19 09:26:37 +02:00
1 parent fdd8d2f3cc
commit 74dd02d024
549 files changed
+2082 -2122

No files matched your search

+3 -3
View File
@@ -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;