Change up strcasecmp/strncasecmp to be more C++y

This commit is contained in:
iikorni
2026-08-30 16:40:12 -05:00
parent 7a697986c6
commit da2a9a8fbc
32 changed files with 351 additions and 790 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ index 239d361..80948f1 100644
@@ -549,6 +551,13 @@ static void Mod_LoadTextures (lump_t *l)
{
if (!q_strncasecmp(tx->name,"sky",3)) //sky texture //also note -- was Q_strncmp, changed to match qbsp
if (!common::strncasecmp(tx->name,"sky",3)) //sky texture //also note -- was Q_strncmp, changed to match qbsp
{
+ if (r_externaltexture_fix.value) { //mk
+ if (strstr(tx->name,"sky4")) {