mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-11 15:22:26 +00:00
Fix for bot chest armor display glitch in SoF+ clients
This commit is contained in:
parent
c2282ced0e
commit
dc6e6fd05f
@ -1,5 +1,8 @@
|
|||||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
|
== 08/13/2014 ==
|
||||||
|
Uleat (Kingly_Krab): Fix for bot chest armor graphic glitch. (fix also caused RoF #wc to work properly)
|
||||||
|
|
||||||
== 08/02/2014 ==
|
== 08/02/2014 ==
|
||||||
Kayen: Implemented spell_news fields
|
Kayen: Implemented spell_news fields
|
||||||
- npc_no_los (check if LOS is required for spells)
|
- npc_no_los (check if LOS is required for spells)
|
||||||
|
|||||||
@ -4303,8 +4303,9 @@ void Bot::Spawn(Client* botCharacterOwner, std::string* errorMessage) {
|
|||||||
// Get the zone id this bot spawned in
|
// Get the zone id this bot spawned in
|
||||||
_lastZoneId = GetZoneID();
|
_lastZoneId = GetZoneID();
|
||||||
|
|
||||||
this->helmtexture = 0xFF;
|
// this change propagates to Bot::FillSpawnStruct()
|
||||||
this->texture = 0xFF;
|
this->helmtexture = 0; //0xFF;
|
||||||
|
this->texture = 0; //0xFF;
|
||||||
|
|
||||||
if(this->Save())
|
if(this->Save())
|
||||||
this->GetBotOwner()->CastToClient()->Message(0, "%s saved.", this->GetCleanName());
|
this->GetBotOwner()->CastToClient()->Message(0, "%s saved.", this->GetCleanName());
|
||||||
@ -4586,8 +4587,8 @@ void Bot::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) {
|
|||||||
ns->spawn.size = 0;
|
ns->spawn.size = 0;
|
||||||
ns->spawn.NPC = 0; // 0=player,1=npc,2=pc corpse,3=npc corpse
|
ns->spawn.NPC = 0; // 0=player,1=npc,2=pc corpse,3=npc corpse
|
||||||
|
|
||||||
ns->spawn.helm = 0xFF;
|
ns->spawn.helm = helmtexture; //0xFF;
|
||||||
ns->spawn.equip_chest2 = 0xFF;
|
ns->spawn.equip_chest2 = texture; //0xFF;
|
||||||
|
|
||||||
const Item_Struct* item = 0;
|
const Item_Struct* item = 0;
|
||||||
const ItemInst* inst = 0;
|
const ItemInst* inst = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user