Changeset 168 for trunk/src/game/NPCHandler.cpp
- Timestamp:
- 11/19/08 13:42:33 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/NPCHandler.cpp
r102 r168 298 298 { 299 299 _player->TalkedToCreature(unit->GetEntry(),unit->GetGUID()); 300 unit->prepareGossipMenu(_player ,0);301 unit->sendPreparedGossip( _player);300 unit->prepareGossipMenu(_player); 301 unit->sendPreparedGossip(_player); 302 302 } 303 303 } … … 339 339 { 340 340 341 if (!Script->GossipSelectWithCode( _player, unit, _player->PlayerTalkClass->GossipOptionSender( option ), _player->PlayerTalkClass->GossipOptionAction( option ), code.c_str()))342 unit->OnGossipSelect ( _player, option);341 if (!Script->GossipSelectWithCode(_player, unit, _player->PlayerTalkClass->GossipOptionSender (option), _player->PlayerTalkClass->GossipOptionAction( option ), code.c_str())) 342 unit->OnGossipSelect (_player, option); 343 343 } 344 344 else 345 345 346 if(!Script->GossipSelect( _player, unit, _player->PlayerTalkClass->GossipOptionSender( option ), _player->PlayerTalkClass->GossipOptionAction( option )) ) 347 unit->OnGossipSelect( _player, option ); 346 { 347 if (!Script->GossipSelect (_player, unit, _player->PlayerTalkClass->GossipOptionSender (option), _player->PlayerTalkClass->GossipOptionAction (option))) 348 unit->OnGossipSelect (_player, option); 349 } 348 350 } 349 351