Core: Fix some warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-11-22 10:10:46 +01:00
parent ea9e88a48c
commit 6b5ff1ca25
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -500,7 +500,7 @@ public:
{
if (pPlayer->GetQuestStatus(QUEST_THE_PERFECT_SPIES) == QUEST_STATUS_INCOMPLETE)
{
if (Creature* target = pPlayer->FindNearestCreature(NPC_VANIRAS_SENTRY_TOTEM, 10.0f))
if (pPlayer->FindNearestCreature(NPC_VANIRAS_SENTRY_TOTEM, 10.0f))
return false;
else
pPlayer->SendEquipError(EQUIP_ERR_OUT_OF_RANGE, pItem, NULL);