mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Stack artifacts part 2, not working yet.
This commit is contained in:
@@ -560,7 +560,10 @@ DLL_LINKAGE CArtifactInstance *ArtifactLocation::getArt()
|
||||
|
||||
DLL_LINKAGE const ArtSlotInfo *ArtifactLocation::getSlot() const
|
||||
{
|
||||
return hero->getSlot(slot);
|
||||
if (hero)
|
||||
return hero->getSlot(slot);
|
||||
if (stack)
|
||||
return stack->getSlot(slot);
|
||||
}
|
||||
|
||||
DLL_LINKAGE void ChangeStackCount::applyGs( CGameState *gs )
|
||||
|
||||
Reference in New Issue
Block a user