mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Backpack limit. Amount of fixes.
This commit is contained in:
@@ -1124,7 +1124,8 @@ EDiggingStatus CGHeroInstance::diggingStatus() const
|
||||
{
|
||||
if(static_cast<int>(movement) < maxMovePoints(true))
|
||||
return EDiggingStatus::LACK_OF_MOVEMENT;
|
||||
|
||||
if(!VLC->arth->objects[ArtifactID::GRAIL]->canBePutAt(this))
|
||||
return EDiggingStatus::BACKPACK_IS_FULL;
|
||||
return cb->getTileDigStatus(visitablePos());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user