comparison CastSpellInfo.cpp @ 1477:7ef4b64f6329

* LODFile::LoadBitmaps & LODFile::LoadIconsOrEvents are merged into LODFile::Load Added support for most of mm6 resources, placeholders for mm8 resources. Fixed few C4258
author Nomad
date Wed, 28 Aug 2013 18:43:07 +0200
parents 2ca62c9e7b3c
children 965af46e8793
comparison
equal deleted inserted replaced
1475:d7720c1f1d3b 1477:7ef4b64f6329
2120 break; 2120 break;
2121 } 2121 }
2122 case SPELL_WATER_LLOYDS_BEACON: 2122 case SPELL_WATER_LLOYDS_BEACON:
2123 { 2123 {
2124 LODWORD(v733) = 604800 * v2; 2124 LODWORD(v733) = 604800 * v2;
2125 if ( !_stricmp(pCurrentMapName.data(), "d05.blv") ) 2125 if ( !_stricmp(pCurrentMapName, "d05.blv") )
2126 { 2126 {
2127 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed 2127 ShowStatusBarString(pGlobalTXT_LocalizationStrings[428], 2); // Spell failed
2128 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0); 2128 pAudioPlayer->PlaySound(SOUND_PlayerCantCastSpell, 0, 0, -1, 0, 0, 0, 0);
2129 pCastSpell->spellnum = 0; 2129 pCastSpell->spellnum = 0;
2130 continue; 2130 continue;