9
3
Prechádzať zdrojové kódy

added 'Trade' option back to clients

Image 4 rokov pred
rodič
commit
29ada832da
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      EQ2/source/WorldServer/client.cpp

+ 3 - 0
EQ2/source/WorldServer/client.cpp

@@ -3737,7 +3737,10 @@ void Client::HandleVerbRequest(EQApplicationPacket* app) {
 				if (player->IsIgnored(spawn->GetName()))
 					delete_commands.push_back(player->CreateEntityCommand("remove from ignore list", 10000, "ignore_remove", "", 0, 0));
 				else
+				{
 					delete_commands.push_back(player->CreateEntityCommand("add to ignore list", 10000, "ignore_add", "", 0, 0));
+					delete_commands.push_back(player->CreateEntityCommand("Trade", 10, "start_trade", "", 0, 0));
+				}
 				if (((Player*)spawn)->GetGroupMemberInfo()) {
 					if (player->IsGroupMember((Player*)spawn) && player->GetGroupMemberInfo()->leader) { //group leader
 						delete_commands.push_back(player->CreateEntityCommand("kick from group", 10000, "kickfromgroup", "", 0, 0));