1
0

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:
Emagi 2024-12-13 09:27:43 -05:00
parent 871444f98c
commit 7daead0d11

View File

@ -2610,7 +2610,8 @@ 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;
classicFlags += INFO_CLASSIC_FLAG_NOLOOK; // serves as dual purpose for NPC's if((classicFlags & INFO_CLASSIC_FLAG_NOLOOK) == 0)
classicFlags += INFO_CLASSIC_FLAG_NOLOOK; // serves as dual purpose for NPC's
} }
//Hide hood check //Hide hood check