1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* redesign of stack's abilities and bonuses - not 100% working, but close ;]

This commit is contained in:
mateuszb
2009-05-08 16:55:04 +00:00
parent 7964f44850
commit ae2909667d
9 changed files with 182 additions and 52 deletions

View File

@ -879,7 +879,7 @@ bool CGHeroInstance::hasBonusOfType(HeroBonus::BonusType type, int subtype /*= -
if(i->type == type && i->subtype == subtype)
return true;
}
throw "CGHeroInstance::hasBonusOfType - we shouln't be here!";
return false;
}
int CGTownInstance::getSightRadious() const //returns sight distance