mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 18:52:22 +00:00
[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>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user