mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
World tradeskill objects should now exhibit pre-RoF behavior to all clients
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user