| 4158 | } |
| 4159 | |
| 4160 | void |
| 4161 | nomul(int nval) |
| 4162 | { |
| 4163 | if (gm.multi < nval) |
| 4164 | return; /* This is a bug fix by ab@unido */ |
| 4165 | disp.botl |= (gm.multi >= 0); |
| 4166 | u.uinvulnerable = FALSE; /* Kludge to avoid ctrl-C bug -dlc */ |
| 4167 | u.usleep = 0; |
| 4168 | gm.multi = nval; |
| 4169 | if (nval == 0) |
| 4170 | gm.multi_reason = NULL, gm.multireasonbuf[0] = '\0'; |
| 4171 | end_running(TRUE); |
| 4172 | cmdq_clear(CQ_CANNED); |
| 4173 | } |
| 4174 | |
| 4175 | /* called when a non-movement, multi-turn action has completed */ |
| 4176 | void |