mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Don't draw Nothing weapon combos for NPC states.
This commit is contained in:
parent
56c553d094
commit
5dd9cca14c
1 changed files with 13 additions and 0 deletions
|
|
@ -107,6 +107,19 @@ public class EquipmentDrawer
|
|||
StainId cMainhandStain, out StainId rMainhandStain, StainId cOffhandStain, out StainId rOffhandStain, EquipFlag? cApply,
|
||||
out bool rApplyMainhand, out bool rApplyMainhandStain, out bool rApplyOffhand, out bool rApplyOffhandStain, bool locked)
|
||||
{
|
||||
if (cMainhand.ModelId.Value == 0)
|
||||
{
|
||||
rOffhand = cOffhand;
|
||||
rMainhand = cMainhand;
|
||||
rMainhandStain = cMainhandStain;
|
||||
rOffhandStain = cOffhandStain;
|
||||
rApplyMainhand = false;
|
||||
rApplyMainhandStain = false;
|
||||
rApplyOffhand = false;
|
||||
rApplyOffhandStain = false;
|
||||
return DataChange.None;
|
||||
}
|
||||
|
||||
var allWeapons = cApply.HasValue;
|
||||
if (_config.HideApplyCheckmarks)
|
||||
cApply = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue