| 1494 | shared.state = NULL; |
| 1495 | deactivate(); |
| 1496 | shared.sounds.clear(); |
| 1497 | speak_stop(); |
| 1498 | unlock_stream(); |
| 1499 | } |
| 1500 | } // namespace |
| 1501 | |
| 1502 | void ztalkbox::stop_wait(U32 x) |
| 1503 | { |
| 1504 | if (shared.active == this) |
| 1505 | { |
| 1506 | shared.wait_event_mask = shared.wait_event_mask | x; |
| 1507 | } |
| 1508 | } |
| 1509 | |
| 1510 | void ztalkbox::show() |
| 1511 | { |
| 1512 | flag.visible = true; |
| 1513 | |
| 1514 | if (shared.active != this) |
| 1515 | { |
| 1516 | return; |
| 1517 | } |