From 7189bab848cfac3b0355d9a9ff3453352f9ec10d Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Tue, 13 Dec 2022 10:40:59 -0600 Subject: [PATCH] [Bots] Fix Gender not saving as GetBaseGender on BotSave (#2639) Bots were not saving their Base Gender when saving. This could result in bots with illusions saving as gender 2 and becoming a male human model upon illusion fade. Co-authored-by: toxin06 <53322305+toxin06@users.noreply.github.com> --- zone/bot_database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot_database.cpp b/zone/bot_database.cpp index 095dec285..0f87e8408 100644 --- a/zone/bot_database.cpp +++ b/zone/bot_database.cpp @@ -549,7 +549,7 @@ bool BotDatabase::SaveBot(Bot* bot_inst) l.title = bot_inst->GetTitle(); l.suffix = bot_inst->GetSuffix(); l.zone_id = bot_inst->GetLastZoneID(); - l.gender = bot_inst->GetGender(); + l.gender = bot_inst->GetBaseGender(); l.race = bot_inst->GetBaseRace(); l.class_ = bot_inst->GetClass(); l.level = bot_inst->GetLevel();