| 904 | }; |
| 905 | |
| 906 | BOOL effect_is_playing(int nSFX) |
| 907 | { |
| 908 | TSFX *sfx = &sgSFX[nSFX]; |
| 909 | if (sfx->pSnd) |
| 910 | return snd_playing(sfx->pSnd); |
| 911 | |
| 912 | if (sfx->bFlags & SFX_STREAM) |
| 913 | return sfx == sfx_data_cur; |
| 914 | |
| 915 | return FALSE; |
| 916 | } |
| 917 | |
| 918 | void sfx_stop() |
| 919 | { |
no test coverage detected