Change up strcasecmp/strncasecmp to be more C++y
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user