diff options
author | Simon Howard | 2008-11-03 19:04:50 +0000 |
---|---|---|
committer | Simon Howard | 2008-11-03 19:04:50 +0000 |
commit | 76e08671f3afc0e26d7d2f2d3d06536e4eb994b4 (patch) | |
tree | 68afe5b601719e96b017d7fdf4601dde883ef857 | |
parent | 8c78e065e003ca6b6bb7a67d9fbd941df90b91d2 (diff) | |
download | chocolate-doom-76e08671f3afc0e26d7d2f2d3d06536e4eb994b4.tar.gz chocolate-doom-76e08671f3afc0e26d7d2f2d3d06536e4eb994b4.tar.bz2 chocolate-doom-76e08671f3afc0e26d7d2f2d3d06536e4eb994b4.zip |
Add NULL terminator to Hexen sprite names list.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1377
-rw-r--r-- | src/hexen/info.c | 5 | ||||
-rw-r--r-- | src/hexen/info.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/hexen/info.c b/src/hexen/info.c index 5029baa4..e0d768d6 100644 --- a/src/hexen/info.c +++ b/src/hexen/info.c @@ -25,7 +25,7 @@ #include "i_swap.h" // generated by stateco -char *sprnames[NUMSPRITES] = { +char *sprnames[] = { "MAN1","ACLO","TLGL","FBL1","XPL1","ARRW","DART","RIPP","CFCF","BLAD", "SHRD","FFSM","FFLG","PTN1","PTN2","SOAR","INVU","SUMN","TSPK","TELO", "TRNG","ROCK","FOGS","FOGM","FOGL","SGSA","SGSB","PORK","EGGM","FHFX", @@ -55,7 +55,8 @@ char *sprnames[NUMSPRITES] = { "BPFX","DRAG","DRFX","ARM1","ARM2","ARM3","ARM4","MAN2","MAN3","KEY1", "KEY2","KEY3","KEY4","KEY5","KEY6","KEY7","KEY8","KEY9","KEYA","KEYB", "ETTN","ETTB","FDMN","FDMB","ICEY","ICPR","ICWS","SORC","SBMP","SBS4", - "SBMB","SBS3","SBMG","SBS1","SBS2","SBFX","RADE","WATR","KORX","ABAT" + "SBMB","SBS3","SBMG","SBS1","SBS2","SBFX","RADE","WATR","KORX","ABAT", + NULL }; void A_FreeTargMobj(); diff --git a/src/hexen/info.h b/src/hexen/info.h index f0bbec38..bacce7e8 100644 --- a/src/hexen/info.h +++ b/src/hexen/info.h @@ -3190,7 +3190,7 @@ typedef struct } state_t; extern state_t states[NUMSTATES]; -extern char *sprnames[NUMSPRITES]; +extern char *sprnames[]; |