diff mm7_4.cpp @ 1104:5d5c78088274

strcmpi to stricmp conversion
author Grumpy7
date Mon, 27 May 2013 21:37:14 +0200
parents c59ac5ea63f5
children cf6cd674c398
line wrap: on
line diff
--- a/mm7_4.cpp	Mon May 27 21:30:40 2013 +0200
+++ b/mm7_4.cpp	Mon May 27 21:37:14 2013 +0200
@@ -2936,7 +2936,7 @@
       v2->pFrames[v2->uNumFrames].uFlags = 0;
       for ( j = 3; j < v24.uPropCount; ++j )
       {
-        if ( !_strcmpi(v24.pProperties[j], "New") )
+        if ( !_stricmp(v24.pProperties[j], "New") )
         {
           v13 = (int)&v2->pFrames[v2->uNumFrames].uFlags;
           *(char *)v13 |= 4u;
@@ -2998,7 +2998,7 @@
   }
   else
   {
-    while ( _strcmpi(pIconName, v2->pIcons[v3].pAnimationName) )
+    while ( _stricmp(pIconName, v2->pIcons[v3].pAnimationName) )
     {
       ++uID;
       ++v3;
@@ -3166,7 +3166,7 @@
         strcpy(v2->pIcons[v2->uNumIcons].pTextureName, v20.pProperties[1]);
         v8 = v20.pProperties[2];
         v2->pIcons[v2->uNumIcons].uFlags = 0;
-        if ( !_strcmpi(v8, "new") )
+        if ( !_stricmp(v8, "new") )
         {
           v9 = (int)&v2->pIcons[v2->uNumIcons].uFlags;
           *(char *)v9 |= 4u;
@@ -7968,12 +7968,12 @@
 				if( v8 < (signed int)pNPCStats->uNumNewNPCs )
 					v6[8] &= 0x7Fu;
 			}
-			if ( pParty->pHirelings[0].pName && !_strcmpi(pParty->pHirelings[0].pName, speakingNPC->pName) )
+			if ( pParty->pHirelings[0].pName && !_stricmp(pParty->pHirelings[0].pName, speakingNPC->pName) )
 			{
 				v11 = pParty->pHirelings;
 				memset(v11, 0, sizeof(NPCData));
 			}
-			else if ( pParty->pHirelings[1].pName && !_strcmpi(pParty->pHirelings[1].pName, speakingNPC->pName) )
+			else if ( pParty->pHirelings[1].pName && !_stricmp(pParty->pHirelings[1].pName, speakingNPC->pName) )
 			{
 				v11 = &pParty->pHirelings[1];
 				memset(v11, 0, sizeof(NPCData));
@@ -8079,12 +8079,12 @@
 				if ( v5 < (signed int)pNPCStats->uNumNewNPCs )
 					v6[8] &= 0x7Fu;
 			}
-			if ( pParty->pHirelings[0].pName && !_strcmpi(pParty->pHirelings[0].pName, speakingNPC->pName) )
+			if ( pParty->pHirelings[0].pName && !_stricmp(pParty->pHirelings[0].pName, speakingNPC->pName) )
 			{
 				v11 = pParty->pHirelings;
 				memset(v11, 0, sizeof(NPCData));
 			}
-			else if ( pParty->pHirelings[1].pName && !_strcmpi(pParty->pHirelings[1].pName, speakingNPC->pName) )
+			else if ( pParty->pHirelings[1].pName && !_stricmp(pParty->pHirelings[1].pName, speakingNPC->pName) )
 			{
 				v11 = &pParty->pHirelings[1];
 				memset(v11, 0, sizeof(NPCData));