From 653d23a1fa0374e72667c576c14e480cba801037 Mon Sep 17 00:00:00 2001 From: WinterSolstice8 <60417494+wintersolstice8@users.noreply.github.com> Date: Fri, 15 May 2026 18:42:14 -0600 Subject: [PATCH] [core] Don't clobber look string data on entities with no size data co-authored-by: slashtangent --- src/map/packets/entity_update.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/map/packets/entity_update.cpp b/src/map/packets/entity_update.cpp index 10a9f4ab074..d470f9c9f9e 100644 --- a/src/map/packets/entity_update.cpp +++ b/src/map/packets/entity_update.cpp @@ -587,7 +587,8 @@ void CEntityUpdatePacket::updateWith(CBaseEntity* PEntity, ENTITYUPDATE type, ui std::memcpy(start, name.c_str(), maxLength); } - if (packet->SendFlg.General) + // Don't overwrite data for model size and hitbox size from look string on NPCs + if (packet->SendFlg.General && (PEntity->objtype == TYPE_PC || PEntity->objtype == TYPE_PET || PEntity->objtype == TYPE_MOB)) { packet->Flags1.GraphSize = PEntity->modelSize; // For some reason, SE reused a player struct where this "g" value is the hitbox size.