From 2f6009035b433df534b293920a71a6ab7dd9ff54 Mon Sep 17 00:00:00 2001 From: goat <16760685+goaaats@users.noreply.github.com> Date: Sat, 14 Aug 2021 21:31:50 +0200 Subject: [PATCH] fix: only read 128 bytes for FlyText SEString --- Dalamud/Game/Gui/FlyText/FlyTextGui.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dalamud/Game/Gui/FlyText/FlyTextGui.cs b/Dalamud/Game/Gui/FlyText/FlyTextGui.cs index 0883c60aa..ee8fecf82 100644 --- a/Dalamud/Game/Gui/FlyText/FlyTextGui.cs +++ b/Dalamud/Game/Gui/FlyText/FlyTextGui.cs @@ -214,8 +214,8 @@ namespace Dalamud.Game.Gui.FlyText var tmpKind = (FlyTextKind)kind; var tmpVal1 = val1; var tmpVal2 = val2; - var tmpText1 = MemoryHelper.ReadSeString(text1); - var tmpText2 = MemoryHelper.ReadSeString(text2); + var tmpText1 = MemoryHelper.ReadSeString(text1, 128); + var tmpText2 = MemoryHelper.ReadSeString(text2, 128); var tmpColor = color; var tmpIcon = icon; var tmpYOffset = yOffset;