vcmi/vcmi — pull request #5 by janisozaur (2014-04-25 14:05:52+00:00)
Title: fixed possible nullptr dereference

* Fixed a switch() statement in InfoBoxHeroData::getValueText that
could result in nullptr dereference. If 'type' was HERO_MANA and
'hero' was nullptr, a fallthrough would occur to HERO_EXPERIENCE,
where 'hero' would we be dereferenced.
* Fixed line endings.