From 8c78e065e003ca6b6bb7a67d9fbd941df90b91d2 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 3 Nov 2008 19:02:40 +0000 Subject: Add NULL terminator to sprite names list. Subversion-branch: /branches/raven-branch Subversion-revision: 1376 --- src/heretic/info.c | 5 +++-- src/heretic/info.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/heretic/info.c b/src/heretic/info.c index 3baa10e4..e566222c 100644 --- 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 @@ char *sprnames[NUMSPRITES] = { "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(); diff --git a/src/heretic/info.h b/src/heretic/info.h index 1d800f6b..f9581298 100644 --- a/src/heretic/info.h +++ b/src/heretic/info.h @@ -1377,7 +1377,7 @@ typedef struct } state_t; extern state_t states[NUMSTATES]; -extern char *sprnames[NUMSPRITES]; +extern char *sprnames[]; -- cgit v1.2.3