From dccbf26ca076881a6a9e3401dcd4e4c187a37c5a Mon Sep 17 00:00:00 2001 From: def Date: Tue, 12 Jan 2021 10:22:39 +0100 Subject: [PATCH] Differentiate hook symbol --- src/game/client/components/nameplates.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/nameplates.cpp b/src/game/client/components/nameplates.cpp index 07466d613..11c9f8a1b 100644 --- a/src/game/client/components/nameplates.cpp +++ b/src/game/client/components/nameplates.cpp @@ -209,8 +209,8 @@ void CNamePlates::RenderNameplatePos(vec2 Position, const CNetObj_PlayerInfo *pP if(pCharacter) { YOffset -= FontSize; - char aBuf[128]; - str_format(aBuf, sizeof(aBuf), "%d", pCharacter->GetStrongWeakID()); + char aBuf[8]; + str_format(aBuf, sizeof(aBuf), "⇢ %d", pCharacter->GetStrongWeakID()); float XOffset = TextRender()->TextWidth(0, FontSize, aBuf, -1, -1.0f) / 2.0f; TextRender()->TextColor(rgb); TextRender()->Text(0, Position.x - XOffset, YOffset, FontSize, aBuf, -1.0f);