*Cleanup + Fix Linux build by WarHead

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-19 16:21:10 -07:00
parent ec054272e1
commit 6c46fc09b0
2 changed files with 6 additions and 6 deletions

View File

@@ -239,13 +239,13 @@ enum {
bool AreaTrigger_at_zumrah(Player* pPlayer, AreaTriggerEntry *at)
{
Creature* Zumrah = pPlayer->FindNearestCreature(ZUMRAH_ID, 30.0f);
Creature* Zumrah = pPlayer->FindNearestCreature(ZUMRAH_ID, 30.0f);
if (!Zumrah)
return false;
if (!Zumrah)
return false;
Zumrah->setFaction(ZUMRAH_HOSTILE_FACTION);
return true;
Zumrah->setFaction(ZUMRAH_HOSTILE_FACTION);
return true;
}
void AddSC_zulfarrak()

View File

@@ -695,7 +695,7 @@ int WorldSocket::HandleAuthSession (WorldPacket& recvPacket)
packet << uint8(AUTH_REJECT);
SendPacket (packet);
sLog.outError ("WorldSocket::HandleAuthSession: World closed, denying client (%s).", m_Session->GetRemoteAddress());
sLog.outError ("WorldSocket::HandleAuthSession: World closed, denying client (%s).", m_Session->GetRemoteAddress().c_str());
return -1;
}