Core/SmartAI: swap menuid/actionid params in GOSSIP_SELECT event

- use proper sql ORDER to order script lines

--HG--
branch : trunk
This commit is contained in:
Rat
2010-11-04 22:08:15 +01:00
parent f658176df8
commit 57661c6d54
4 changed files with 7 additions and 7 deletions

View File

@@ -1768,7 +1768,7 @@ void SmartScript::ProcessEvent(SmartScriptHolder &e, Unit* unit, uint32 var0, ui
}
case SMART_EVENT_GOSSIP_SELECT:
{
sLog.outDebug("SmartScript: Gossip Select: action %u menu %u", var0, var1);
sLog.outString("SmartScript: Gossip Select: menu %u action %u", var0, var1);//little help for scripters
if (e.event.gossip.sender != var0 || e.event.gossip.action != var1)
return;
ProcessAction(e, unit, var0, var1);