… | |
… | |
189 | { |
189 | { |
190 | ++scrub_idx; |
190 | ++scrub_idx; |
191 | |
191 | |
192 | if (!faces_sent [scrub_idx]) |
192 | if (!faces_sent [scrub_idx]) |
193 | if (faceinfo *f = face_info (scrub_idx)) |
193 | if (faceinfo *f = face_info (scrub_idx)) |
194 | if (f->type == FT_FACE) // only scrub faces for now |
194 | if (f->type == FT_FACE || f->type == FT_SOUND) // only scrub faces and sounds for now |
195 | { |
195 | { |
196 | send_face (scrub_idx, -120); |
196 | send_face (scrub_idx, -120); |
197 | flush_fx (); |
197 | flush_fx (); |
198 | |
198 | |
199 | bg_scrub = 1; // send up to one fx per tick, unless an image was requested |
199 | bg_scrub = 1; // send up to one fx per tick, unless an image was requested |