Save eyes in #npcedit featuresave (#2178)

This commit is contained in:
hg 2022-05-15 19:12:22 -04:00 committed by GitHub
parent 8329760632
commit 77e72ba666
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -549,14 +549,17 @@ void command_npcedit(Client *c, const Seperator *sep)
std::string query = fmt::format( std::string query = fmt::format(
"UPDATE npc_types " "UPDATE npc_types "
"SET luclin_haircolor = {}, luclin_beardcolor = {}, " "SET luclin_haircolor = {}, luclin_beardcolor = {}, "
"luclin_eyecolor = {}, luclin_eyecolor2 = {}, "
"luclin_hairstyle = {}, luclin_beard = {}, " "luclin_hairstyle = {}, luclin_beard = {}, "
"face = {}, drakkin_heritage = {}, " "face = {}, drakkin_heritage = {}, "
"drakkin_tattoo = {}, drakkin_details = {}, " "drakkin_tattoo = {}, drakkin_details = {}, "
"texture = {}, helmtexture = {}, " "texture = {}, helmtexture = {}, "
"gender = {}, size = {:.2f}" "gender = {}, size = {:.2f} "
"WHERE id = {}", "WHERE id = {}",
target->GetHairColor(), target->GetHairColor(),
target->GetBeardColor(), target->GetBeardColor(),
target->GetEyeColor1(),
target->GetEyeColor2(),
target->GetHairStyle(), target->GetHairStyle(),
target->GetBeard(), target->GetBeard(),
target->GetLuclinFace(), target->GetLuclinFace(),