1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00
Hero is now properly attached to his special.

Compile fix for ERM Parser.
This commit is contained in:
DjWarmonger
2011-04-23 09:57:51 +00:00
parent 5cc9d16014
commit 7e9033c44f
9 changed files with 89 additions and 51 deletions

View File

@ -291,6 +291,7 @@ void CSpellHandler::loadSpells()
nsp->mainEffectAnim = -1;
spells.push_back(nsp);
}
boost::replace_first (spells[47]->attributes, "2", ""); // disrupting ray will now affect single creature
//loading of additional spell traits
std::ifstream ast;
ast.open(DATA_DIR "/config/spell_info.txt", std::ios::binary);