shithub: choc

Download patch

ref: 76e08671f3afc0e26d7d2f2d3d06536e4eb994b4
parent: 8c78e065e003ca6b6bb7a67d9fbd941df90b91d2
author: Simon Howard <fraggle@gmail.com>
date: Mon Nov 3 14:04:50 EST 2008

Add NULL terminator to Hexen sprite names list.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1377

--- 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 @@
     "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();
--- a/src/hexen/info.h
+++ b/src/hexen/info.h
@@ -3190,7 +3190,7 @@
 } state_t;
 
 extern state_t states[NUMSTATES];
-extern char *sprnames[NUMSPRITES];
+extern char *sprnames[];