[Commands] Remove #zuwcoords Command. (#1810)

- Remove duplicate command of #zunderworld
This commit is contained in:
Kinglykrab
2021-11-23 06:03:09 -05:00
committed by GitHub
parent 2cbcefd9a0
commit 8d3a179ecc
4 changed files with 1 additions and 23 deletions
-19
View File
@@ -1,19 +0,0 @@
#include "../client.h"
void command_zuwcoords(Client *c, const Seperator *sep)
{
// modifys and resends zhdr packet
if (sep->arg[1][0] == 0) {
c->Message(Chat::White, "Usage: #zuwcoords <under world coords>");
}
else {
zone->newzone_data.underworld = atof(sep->arg[1]);
//float newdata = atof(sep->arg[1]);
//memcpy(&zone->zone_header_data[130], &newdata, sizeof(float));
auto outapp = new EQApplicationPacket(OP_NewZone, sizeof(NewZone_Struct));
memcpy(outapp->pBuffer, &zone->newzone_data, outapp->size);
entity_list.QueueClients(c, outapp);
safe_delete(outapp);
}
}