called after mimicking is over */
| 160 | |
| 161 | /* called after mimicking is over */ |
| 162 | staticfn int |
| 163 | eatmdone(void) |
| 164 | { |
| 165 | /* release `eatmbuf' */ |
| 166 | if (ge.eatmbuf) { |
| 167 | if (gn.nomovemsg == ge.eatmbuf) |
| 168 | gn.nomovemsg = 0; |
| 169 | free((genericptr_t) ge.eatmbuf), ge.eatmbuf = 0; |
| 170 | } |
| 171 | /* update display */ |
| 172 | if (U_AP_TYPE) { |
| 173 | gy.youmonst.m_ap_type = M_AP_NOTHING; |
| 174 | newsym(u.ux, u.uy); |
| 175 | } |
| 176 | return 0; |
| 177 | } |
| 178 | |
| 179 | /* called when hallucination is toggled */ |
| 180 | void |