X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fsoft%2Frender.c;h=7fbfc8fc280a88c4ec5416ae9c32109ef7ce7322;hb=affcba78203f154a2a25dcfed5a3700c69a45e8c;hp=c77709c66877c74594ab98b5073b0bf0e66a8069;hpb=ef16dea09f87b15fc6d58fae0aa0832e0648c00e;p=flatwaifu.git diff --git a/src/soft/render.c b/src/soft/render.c index c77709c..7fbfc8f 100644 --- a/src/soft/render.c +++ b/src/soft/render.c @@ -1393,13 +1393,13 @@ void R_get_name (int n, char s[8]) { } static short getani (char n[8]) { - if (strncasecmp(n, "WALL22_1", 8) == 0) { + if (cp866_strncasecmp(n, "WALL22_1", 8) == 0) { return 1; - } else if (strncasecmp(n, "WALL58_1", 8) == 0) { + } else if (cp866_strncasecmp(n, "WALL58_1", 8) == 0) { return 2; - } else if (strncasecmp(n, "W73A_1", 8) == 0) { + } else if (cp866_strncasecmp(n, "W73A_1", 8) == 0) { return 3; - } else if (strncasecmp(n, "RP2_1", 8) == 0) { + } else if (cp866_strncasecmp(n, "RP2_1", 8) == 0) { return 4; } else { return 0; @@ -1433,7 +1433,7 @@ void R_load (char s[8]) { walh[max_textures] = -1; walp[max_textures] = NULL; } else { - if (strncasecmp(s, "_WATER_", 7) == 0) { + if (cp866_strncasecmp(s, "_WATER_", 7) == 0) { walh[max_textures] = -2; walp[max_textures] = (void*)((intptr_t)s[7] - '0' + 1); } else {