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

Function sysopt_seduce_set

src/sys.c:163–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161extern const struct attack c_sa_no[NATTK];
162
163void
164sysopt_seduce_set(
165#if 0
166int val)
167{
168/*
169 * Attack substitution is now done on the fly in getmattk(mhitu.c).
170 */
171 struct attack *setval = val ? c_sa_yes : c_sa_no;
172 int x;
173
174 for (x = 0; x < NATTK; x++) {
175 mons[PM_INCUBUS].mattk[x] = setval[x];
176 mons[PM_SUCCUBUS].mattk[x] = setval[x];
177 }
178#else
179int val UNUSED)
180{
181#endif
182 return;
183}
184
185/*sys.c*/

Callers 2

sys_early_initFunction · 0.85
cnf_line_SEDUCEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected