From 6f332e645dd2ddb176156847cff0bcf741bd207f Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 25 Oct 2014 03:27:50 +0000 Subject: [PATCH] Fix r4643, NUM_HARDCODED_ANIMS was increased for a reason. DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4657 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/anim.h | 2 +- polymer/eduke32/source/game.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/polymer/eduke32/source/anim.h b/polymer/eduke32/source/anim.h index a60246628..2267b82a2 100644 --- a/polymer/eduke32/source/anim.h +++ b/polymer/eduke32/source/anim.h @@ -23,7 +23,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef __anim_h__ #define __anim_h__ -#define NUM_HARDCODED_ANIMS 11 +#define NUM_HARDCODED_ANIMS 12 # ifdef USE_LIBVPX extern uint16_t anim_hi_numsounds[NUM_HARDCODED_ANIMS], *anim_hi_sounds[NUM_HARDCODED_ANIMS]; diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 7664a4ac4..c16db8b07 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -9495,6 +9495,7 @@ static int32_t parsedefinitions_game(scriptfile *script, int32_t preload) { "vol43a", 8 }, { "vol4e2", 9 }, { "vol4e3", 10 }, + { "3dr", 11 }, // NUM_HARDCODED_ANIMS };