sprnames list must be NULL-terminated; fixes crash when starting up Doom Classic.

This commit is contained in:
James Dunne
2012-11-26 22:28:11 -06:00
parent 7a020e0c29
commit 2edcf7d40b
2 changed files with 3 additions and 3 deletions

View File

@@ -1169,7 +1169,7 @@ typedef struct
} state_t;
extern const state_t tempStates[NUMSTATES];
extern const char * const sprnames[NUMSPRITES];
extern const char * const sprnames[NUMSPRITES+1];
typedef enum {
MT_PLAYER,