follow-up
This commit is contained in:
+2
-1
@@ -66,6 +66,7 @@ struct {
|
|||||||
#define PCHAR_TILES
|
#define PCHAR_TILES
|
||||||
#include "defsym.h"
|
#include "defsym.h"
|
||||||
#undef PCHAR_TILES
|
#undef PCHAR_TILES
|
||||||
|
{ 0, 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {MON_GLYPH, OBJ_GLYPH, OTH_GLYPH, TERMINATOR = -1};
|
enum {MON_GLYPH, OBJ_GLYPH, OTH_GLYPH, TERMINATOR = -1};
|
||||||
@@ -1430,7 +1431,7 @@ acceptable_tilename(int glyph_set, int idx, const char *encountered,
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (glyph_set == OTH_GLYPH) {
|
if (glyph_set == OTH_GLYPH) {
|
||||||
if (idx >= 0 && idx < SIZE(altlabels)) {
|
if (idx >= 0 && idx < (SIZE(altlabels) - 1)) {
|
||||||
if (!strcmp(altlabels[idx].tilelabel, encountered))
|
if (!strcmp(altlabels[idx].tilelabel, encountered))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user