comparison mm7_6.cpp @ 1104:5d5c78088274

strcmpi to stricmp conversion
author Grumpy7
date Mon, 27 May 2013 21:37:14 +0200
parents 79010db96ade
children 3395579f6c4d
comparison
equal deleted inserted replaced
1103:db395ce89ede 1104:5d5c78088274
4492 break; 4492 break;
4493 } 4493 }
4494 case SPELL_WATER_LLOYDS_BEACON: 4494 case SPELL_WATER_LLOYDS_BEACON:
4495 { 4495 {
4496 LODWORD(v733) = 604800 * v2; 4496 LODWORD(v733) = 604800 * v2;
4497 if ( !_strcmpi(pCurrentMapName, "d05.blv") ) 4497 if ( !_stricmp(pCurrentMapName, "d05.blv") )
4498 { 4498 {
4499 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed 4499 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed
4500 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0); 4500 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0);
4501 pCastSpell->spellnum = 0; 4501 pCastSpell->spellnum = 0;
4502 continue; 4502 continue;