From 31914eb0b669bc57e353ab790f7c7a3a0c9e7c8d Mon Sep 17 00:00:00 2001 From: Akkadius Date: Tue, 29 Oct 2019 20:32:20 -0500 Subject: [PATCH] Properly set box size [skip ci] --- zone/command.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zone/command.cpp b/zone/command.cpp index 2be3776af..f18b5b26f 100755 --- a/zone/command.cpp +++ b/zone/command.cpp @@ -7432,10 +7432,10 @@ void command_roambox(Client *c, const Seperator *sep) WHERE id = {} ), box_size, - npc->GetX() - 100, - npc->GetX() + 100, - npc->GetY() - 100, - npc->GetY() + 100, + npc->GetX() - (box_size / 2), + npc->GetX() + (box_size / 2), + npc->GetY() - (box_size / 2), + npc->GetY() + (box_size / 2), delay, spawn_group_id );