mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Fix getting battlefield crash
This commit is contained in:
@ -1406,6 +1406,11 @@ void CGArtifact::pick(const CGHeroInstance * h) const
|
||||
cb->removeObject(this);
|
||||
}
|
||||
|
||||
BattleField CGArtifact::getBattlefield() const
|
||||
{
|
||||
return BattleField::NONE;
|
||||
}
|
||||
|
||||
void CGArtifact::battleFinished(const CGHeroInstance *hero, const BattleResult &result) const
|
||||
{
|
||||
if(result.winner == 0) //attacker won
|
||||
|
Reference in New Issue
Block a user