From c5a61bd3311aa1964b8e2e2a3dcdc4bc43a85ca9 Mon Sep 17 00:00:00 2001 From: ragnarok-clanker Date: Tue, 27 Oct 2026 20:34:49 +0000 Subject: [PATCH] Decompile fn_07994 (AnimatedModelFrame::~AnimatedModelFrame) Batch #1151 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_07994 AnimatedModelFrame::~AnimatedModelFrame: byte-identical Merged automatically: every function is byte-identical to the original. --- Source/Resource/Models/AnimatedModelResource.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/Resource/Models/AnimatedModelResource.cpp b/Source/Resource/Models/AnimatedModelResource.cpp index ae1274cc..1f3decc2 100644 --- a/Source/Resource/Models/AnimatedModelResource.cpp +++ b/Source/Resource/Models/AnimatedModelResource.cpp @@ -12,8 +12,13 @@ AnimatedModelFrame::AnimatedModelFrame() : vertices(nullptr), textureVertices(nu // OFFSET: 0x00756680 // FUNCTION: fn_07994 AnimatedModelFrame::~AnimatedModelFrame() { - delete[] this->vertices; - delete[] this->textureVertices; + if (this->vertices) { + delete[] this->vertices; + } + + if (this->textureVertices) { + delete[] this->textureVertices; + } } // INLINED