add BB-only NPC skins

This commit is contained in:
Martin Michelsen
2024-11-09 19:19:47 -08:00
parent a140cdbedb
commit 0279b20bb7
4 changed files with 64 additions and 14 deletions
+1 -1
View File
@@ -1484,7 +1484,7 @@ static void server_command_edit(shared_ptr<Client> c, const std::string& args) {
p->disp.visual.unused.clear(0);
}
} else {
uint8_t npc = npc_for_name(tokens.at(1));
uint8_t npc = npc_for_name(tokens.at(1), c->version());
if (npc == 0xFF) {
send_text_message(c, "$C6No such NPC");
return;