| 166 | } |
| 167 | return false; |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | static void reset_auto_wait() |
| 172 | { |
| 173 | const ztalkbox::asset_type* a = shared.active->asset; |
| 174 | |
| 175 | shared.auto_wait.type.time = a->auto_wait.type.time; |
| 176 | shared.auto_wait.type.prompt = a->auto_wait.type.prompt; |
| 177 | shared.auto_wait.type.sound = a->auto_wait.type.sound; |
| 178 | shared.auto_wait.type.event = a->auto_wait.type.event; |
| 179 | |
| 180 | shared.auto_wait.delay = a->auto_wait.delay; |
| 181 | |
| 182 | shared.auto_wait.need = 0; |
| 183 | |
| 184 | if (a->auto_wait.which_event <= 0 || a->auto_wait.which_event >= 32) |
| 185 | { |
| 186 | shared.auto_wait.event_mask = -1; |
| 187 | } |
| 188 | else |
| 189 | { |
| 190 | shared.auto_wait.event_mask = 1u << a->auto_wait.which_event; |
| 191 | } |
| 192 | |
| 193 | shared.auto_wait.query = Q_SKIP; |
| 194 | } |
no outgoing calls
no test coverage detected