MCPcopy Create free account
hub / github.com/NetHack/NetHack / set_twoweap

Function set_twoweap

src/wield.c:833–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

831}
832
833void
834set_twoweap(boolean on_off)
835{
836 if (on_off != u.twoweap) {
837 u.twoweap = on_off;
838 if (flags.weaponstatus)
839 disp.botl = TRUE;
840 }
841}
842
843/* the #twoweapon command */
844int

Callers 9

dotwoweaponFunction · 0.85
untwoweaponFunction · 0.85
hmon_hitmon_joustingFunction · 0.85
throwitFunction · 0.85
return_throw_to_invFunction · 0.85
setwornFunction · 0.85
setnotwornFunction · 0.85
ini_inv_use_objFunction · 0.85
poly_objFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected