mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix CID 1197519
This commit is contained in:
parent
75461cfa0f
commit
90d39ca2af
@ -40,7 +40,7 @@ struct EnemyInfo
|
|||||||
const CStack * s;
|
const CStack * s;
|
||||||
int adi, adr;
|
int adi, adr;
|
||||||
std::vector<BattleHex> attackFrom; //for melee fight
|
std::vector<BattleHex> attackFrom; //for melee fight
|
||||||
EnemyInfo(const CStack * _s) : s(_s)
|
EnemyInfo(const CStack * _s) : s(_s), adi(0), adr(0)
|
||||||
{}
|
{}
|
||||||
void calcDmg(const CStack * ourStack)
|
void calcDmg(const CStack * ourStack)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user