X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fmap.c;h=ab154e2b17555c03cf8718cac5b7d70492c37ddd;hb=1e058b808ddb343442012f01d6fd5692920a3018;hp=d09022738cc1b2dc8dfcb4e076acec08581e885e;hpb=be5b85c2befe93999ee724072e5ba78e8e37232b;p=flatwaifu.git diff --git a/src/map.c b/src/map.c index d090227..ab154e2 100644 --- a/src/map.c +++ b/src/map.c @@ -32,6 +32,7 @@ #include #include "my.h" #include "error.h" +#include "cp866.h" enum { MB_COMMENT = -1, MB_END = 0, @@ -244,7 +245,7 @@ static int W_load (FILE *h) { 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; } }