From 33adb9bcc1af5105c0329bdd170ee40b64a0671f Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sat, 16 Dec 2023 21:06:36 -0600 Subject: [PATCH] [Hotfix] Fix bad merge --- zone/bot_command.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot_command.cpp b/zone/bot_command.cpp index 00d246d50..9bcc1ec79 100644 --- a/zone/bot_command.cpp +++ b/zone/bot_command.cpp @@ -3940,7 +3940,7 @@ void bot_command_item_use(Client* c, const Seperator* sep) else if (arg1.compare("byclass") == 0) { if (Strings::IsNumber(sep->arg[2])) { class_mask = Strings::ToUnsignedInt(sep->arg[2]); - if (!(class_mask >= WARRIOR && class_mask <= BERSERKER)) { + if (!(class_mask >= Class::Warrior && class_mask <= Class::Berserker)) { c->Message(Chat::White, "Invalid class range, you must choose between 1 (Warrior) and 15 (Beastlord)"); return; }