瀏覽代碼

added 'Trade' option back to clients

Image 4 年之前
父節點
當前提交
29ada832da
共有 1 個文件被更改,包括 3 次插入0 次删除
  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));