mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
CWindowWithArtifacts remove std::variant
This commit is contained in:
@ -240,6 +240,11 @@ const CArtifactInstance * CArtifactsOfHeroBase::getArt(const ArtifactPosition &
|
||||
return curHero ? curHero->getArt(slot) : nullptr;
|
||||
}
|
||||
|
||||
void CArtifactsOfHeroBase::enableKeyboardShortcuts()
|
||||
{
|
||||
addUsedEvents(AEventsReceiver::KEYBOARD);
|
||||
}
|
||||
|
||||
void CArtifactsOfHeroBase::setSlotData(ArtPlacePtr artPlace, const ArtifactPosition & slot)
|
||||
{
|
||||
// Spurious call from artifactMoved in attempt to update hidden backpack slot
|
||||
|
Reference in New Issue
Block a user