| 326 | } |
| 327 | |
| 328 | void |
| 329 | tty_nhbell(void) |
| 330 | { |
| 331 | Handle h = GetNamedResource('snd ', "\pNetHack Bell"); |
| 332 | |
| 333 | if (h) { |
| 334 | HLock(h); |
| 335 | SndPlay((SndChannelPtr) 0, (SndListHandle) h, 0); |
| 336 | ReleaseResource(h); |
| 337 | } else |
| 338 | SysBeep(30); |
| 339 | } |
| 340 | |
| 341 | /* |
| 342 | * Fill in some fields from some other fields that may have changed |