diff --git a/src/map.c b/src/map.c
index d09022738cc1b2dc8dfcb4e076acec08581e885e..ab154e2b17555c03cf8718cac5b7d70492c37ddd 100644 (file)
--- a/src/map.c
+++ b/src/map.c
#include <string.h>
#include "my.h"
#include "error.h"
+#include "cp866.h"
enum {
MB_COMMENT = -1, MB_END = 0,
myfread(s, 8, 1, h);
walf[i] = myfread8(h) ? 1 : 0; // ???
R_load(s);
- if (strncasecmp(s, "VTRAP01", 8) == 0) {
+ if (cp866_strncasecmp(s, "VTRAP01", 8) == 0) {
walf[i] |= 2;
}
}