mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-22 12:18:27 +00:00
Cleanup of some lua code, initial work on encounter_quests
This commit is contained in:
@@ -3260,13 +3260,10 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
|
||||
{
|
||||
if( !mod_saylink(response, silentsaylink) ) { return; }
|
||||
|
||||
if(this->GetTarget() && this->GetTarget()->IsNPC())
|
||||
if(GetTarget() && GetTarget()->IsNPC())
|
||||
{
|
||||
if(silentsaylink)
|
||||
{
|
||||
Mob *targ = GetTarget();
|
||||
if(targ->GetAppearance() != eaDead)
|
||||
targ->FaceTarget(this);
|
||||
parse->EventNPC(EVENT_SAY, GetTarget()->CastToNPC(), this, response.c_str(), 0);
|
||||
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user