View Single Post
  #6  
Old 04-08-2002, 06:44 PM
strychn
Hill Giant
 
Join Date: Feb 2002
Posts: 129
Default

fixed trigger item...
changed:

CheckQuests(zone->GetShortName(), "%%item%%", tmp->GetID(), TradeList[0]);

to:

if (tmp->IsNPC()) { CheckQuests(zone->GetShortName(), "%%item%%", tmp->CastToNPC()->GetNPCTypeID(), TradeList[0]);
}}

in client_process.cpp.

this way it passes the correct ID to checkquests.
Reply With Quote