ref: 8c78e065e003ca6b6bb7a67d9fbd941df90b91d2
parent: 65c1c98815817aebe56936a5670628781444893d
author: Simon Howard <[email protected]>
date: Mon Nov 3 14:02:40 EST 2008
Add NULL terminator to sprite names list. Subversion-branch: /branches/raven-branch Subversion-revision: 1376
--- a/src/heretic/info.c
+++ b/src/heretic/info.c
@@ -24,7 +24,7 @@
#include "doomdef.h"
// generated by multigen
-char *sprnames[NUMSPRITES] = {
+char *sprnames[] = {
"IMPX","ACLO","PTN1","SHLD","SHD2","BAGH","SPMP","INVS","PTN2","SOAR",
"INVU","PWBK","EGGC","EGGM","FX01","SPHL","TRCH","FBMB","XPL1","ATLP",
"PPOD","AMG1","SPSH","LVAS","SLDG","SKH1","SKH2","SKH3","SKH4","CHDL",
@@ -37,7 +37,8 @@
"FX15","BEAS","FRB1","SNKE","SNFX","HEAD","FX05","FX06","FX07","CLNK",
"WZRD","FX11","FX10","KNIG","SPAX","RAXE","SRCR","FX14","SOR2","SDTH",
"FX16","MNTR","FX12","FX13","AKYY","BKYY","CKYY","AMG2","AMM1","AMM2",
- "AMC1","AMC2","AMS1","AMS2","AMP1","AMP2","AMB1","AMB2"
+ "AMC1","AMC2","AMS1","AMS2","AMP1","AMP2","AMB1","AMB2",
+ NULL
};
void A_FreeTargMobj();
--- a/src/heretic/info.h
+++ b/src/heretic/info.h
@@ -1377,7 +1377,7 @@
} state_t;
extern state_t states[NUMSTATES];
-extern char *sprnames[NUMSPRITES];
+extern char *sprnames[];