World tradeskill objects should now exhibit pre-RoF behavior to all clients

This commit is contained in:
Uleat
2016-01-12 18:44:51 -05:00
parent acb1d14fbd
commit 21fc487c33
3 changed files with 26 additions and 21 deletions
+4 -8
View File
@@ -4253,15 +4253,11 @@ void Client::Handle_OP_ClickObjectAction(const EQApplicationPacket *app)
EQApplicationPacket end_trade2(OP_FinishWindow2, 0);
QueuePacket(&end_trade2);
return;
// RoF sends a 0 sized packet for closing objects
/*
Object* object = GetTradeskillObject();
if (object) {
object->CastToObject()->Close();
}
*/
if (GetTradeskillObject() && GetClientVersion() >= ClientVersion::RoF)
GetTradeskillObject()->CastToObject()->Close();
return;
}
else
{