| 384 | } |
| 385 | |
| 386 | void Humanoid::removeWearable(uint8_t slot) { |
| 387 | auto& fashion = *m_fashion; |
| 388 | Wearable& current = fashion.wearables.at(slot); |
| 389 | wearableRemoved(current); |
| 390 | current.reset(); |
| 391 | } |
| 392 | |
| 393 | void Humanoid::setWearableFromHead(uint8_t slot, HeadArmor const& head, Gender gender) { |
| 394 | auto& fashion = *m_fashion; |
no test coverage detected