diff Events.cpp @ 1104:5d5c78088274

strcmpi to stricmp conversion
author Grumpy7
date Mon, 27 May 2013 21:37:14 +0200
parents 1c10b24a4159
children 29a8defbad9e
line wrap: on
line diff
--- a/Events.cpp	Mon May 27 21:30:40 2013 +0200
+++ b/Events.cpp	Mon May 27 21:37:14 2013 +0200
@@ -497,7 +497,7 @@
 				strcpy(Str, Source);
 				v16 = RemoveQuotes(Str);
 				VideoPlayer::MovieLoop(v16, 0, v14, 1);
-				if ( !_strcmpi(v16, "arbiter good") )
+				if ( !_stricmp(v16, "arbiter good") )
                 {
                   pParty->alignment = PartyAlignment_Good;
 					v18 = 0;
@@ -519,7 +519,7 @@
 					//v7 = "";
 					break;
 					}
-				if ( !_strcmpi(v16, "arbiter evil") )
+				if ( !_stricmp(v16, "arbiter evil") )
 					{
 					v18 = 2;
 					pParty->alignment = PartyAlignment_Evil;
@@ -541,7 +541,7 @@
 
 					break;
 					}
-				if ( !_strcmpi(v16, "pcout01") )    // moving to harmondale from emerald isle
+				if ( !_stricmp(v16, "pcout01") )    // moving to harmondale from emerald isle
                 {
 					Rest(0x2760u);
 					pParty->RestAndHeal();
@@ -1115,8 +1115,8 @@
 					return;
 					}
 				v84 = _evt->v13 + ((_evt->v14 + ((_evt->v15 + ((uint)_evt->v16 << 8)) << 8)) << 8);
-				if ( !_strcmpi(GameUI_Footer_TimedString, &pLevelStr[pLevelStrOffsets[_evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8)]])
-					|| !_strcmpi(GameUI_Footer_TimedString, &pLevelStr[pLevelStrOffsets[v84]]) )
+				if ( !_stricmp(GameUI_Footer_TimedString, &pLevelStr[pLevelStrOffsets[_evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8)]])
+					|| !_stricmp(GameUI_Footer_TimedString, &pLevelStr[pLevelStrOffsets[v84]]) )
 					{
 					v11 = _evt->v17;
 LABEL_130: