From 892f2253ea2845f6ef3013111f66459baec1e032 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 5 Dec 2025 13:52:37 +0100 Subject: [PATCH] p_spec: remove hardcoded animdefs table srb2.srb includes an ANIMDEFS file which WILL override this anyways and includes any of these. so no need to complicate the code with this --- src/p_spec.c | 115 ++------------------------------------------------- 1 file changed, 4 insertions(+), 111 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index dd19cc644..66901d234 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -53,7 +53,7 @@ mobj_t *skyboxmo[2] = {}; #define MAXFLATSIZE (2048<speed = animdefs[i].speed; - else - lastanim->speed = LONG(animdefs[i].speed); + lastanim->speed = LONG(animdefs[i].speed); lastanim++; } @@ -332,8 +226,7 @@ void P_InitPicAnims(void) // Clear animdefs now that we're done with it. // We'll only be using anims from now on. - if (animdefs != harddefs) - Z_Free(animdefs); + Z_Free(animdefs); animdefs = NULL; }