Make Wall_names const

This commit is contained in:
Kp 2013-11-28 00:22:22 +00:00
parent 0bcf492b56
commit 68732756e8
2 changed files with 2 additions and 2 deletions

View file

@ -204,7 +204,7 @@ typedef struct {
char pad; char pad;
} __pack__ wclip; } __pack__ wclip;
extern char Wall_names[7][10]; extern const char Wall_names[7][10];
//#define WALL_IS_DOORWAY(seg,side) wall_is_doorway(seg, side) //#define WALL_IS_DOORWAY(seg,side) wall_is_doorway(seg, side)

View file

@ -46,7 +46,7 @@ int Num_cloaking_walls;
#endif #endif
#ifdef EDITOR #ifdef EDITOR
char Wall_names[7][10] = { const char Wall_names[7][10] = {
"NORMAL ", "NORMAL ",
"BLASTABLE", "BLASTABLE",
"DOOR ", "DOOR ",