just make sure we don't set the flag twice if an npc is a mount and has no look on
This commit is contained in:
parent
871444f98c
commit
7daead0d11
@ -2610,6 +2610,7 @@ void Spawn::InitializeInfoPacketData(Player* spawn, PacketStruct* packet) {
|
|||||||
//Mount flag check
|
//Mount flag check
|
||||||
if (entity->GetMount() > 0) {
|
if (entity->GetMount() > 0) {
|
||||||
vis_flag += INFO_VIS_FLAG_MOUNTED;
|
vis_flag += INFO_VIS_FLAG_MOUNTED;
|
||||||
|
if((classicFlags & INFO_CLASSIC_FLAG_NOLOOK) == 0)
|
||||||
classicFlags += INFO_CLASSIC_FLAG_NOLOOK; // serves as dual purpose for NPC's
|
classicFlags += INFO_CLASSIC_FLAG_NOLOOK; // serves as dual purpose for NPC's
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user