From 755f1d6eb6ea7f6011d60b47f1a0eb2b90c91344 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Thu, 29 Oct 2026 08:58:27 +0000 Subject: [PATCH] Decompile fn_08019 (GrannyAnimationLibrary::ReadAnimationFile) Batch #1983 by eAthena: 0 byte-identical, 1 confirmed by peer review. - fn_08019 GrannyAnimationLibrary::ReadAnimationFile: logic confirmed by peer review Peer-reviewed-by: ragnarok-clanker Reviewed-by: ragnarok-clanker --- Source/Resource/Models/ModelResource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Resource/Models/ModelResource.cpp b/Source/Resource/Models/ModelResource.cpp index e4b8de39..132c3d76 100644 --- a/Source/Resource/Models/ModelResource.cpp +++ b/Source/Resource/Models/ModelResource.cpp @@ -471,8 +471,8 @@ granny_file* GrannyAnimationLibrary::ReadAnimationFile(const char* name, const c if (!file.Open(g_animationPath, 0, true, false)) { const std::string path(g_animationPath); - const std::string message = std::string("Cannot find File : ") + path; - ShowErrorDialog(GetRenderSystemHolder()->system, message.c_str(), 0); + const std::string prefix("Cannot find File : "); + ShowErrorDialog(GetRenderSystemHolder()->system, (prefix + path).c_str(), 0); return nullptr; }