mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Partially functional artifact screen.
[TBD compound artifacts, backpack arranging, "live" modifying values, many details]
This commit is contained in:
@@ -958,7 +958,8 @@ void CArtifactInstance::putAt(CGHeroInstance *h, ui16 slot)
|
||||
asi.artifact = this;
|
||||
asi.locked = false;
|
||||
|
||||
h->attachTo(this);
|
||||
if(slot < Arts::BACKPACK_START)
|
||||
h->attachTo(this);
|
||||
}
|
||||
|
||||
void CArtifactInstance::removeFrom(CGHeroInstance *h, ui16 slot)
|
||||
|
||||
Reference in New Issue
Block a user