diff options
author | Simon Howard | 2008-11-03 19:02:40 +0000 |
---|---|---|
committer | Simon Howard | 2008-11-03 19:02:40 +0000 |
commit | 8c78e065e003ca6b6bb7a67d9fbd941df90b91d2 (patch) | |
tree | e620ec299d9b7c8c8e9c0b60a0f87c341be0f61a /src | |
parent | 65c1c98815817aebe56936a5670628781444893d (diff) | |
download | chocolate-doom-8c78e065e003ca6b6bb7a67d9fbd941df90b91d2.tar.gz chocolate-doom-8c78e065e003ca6b6bb7a67d9fbd941df90b91d2.tar.bz2 chocolate-doom-8c78e065e003ca6b6bb7a67d9fbd941df90b91d2.zip |
Add NULL terminator to sprite names list.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1376
Diffstat (limited to 'src')
-rw-r--r-- | src/heretic/info.c | 5 | ||||
-rw-r--r-- | src/heretic/info.h | 2 |
2 files changed, 4 insertions, 3 deletions
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[]; |