| 1189 | } |
| 1190 | |
| 1191 | void PlaySoundSources() |
| 1192 | { |
| 1193 | for (const auto& soundSource : g_Level.SoundSources) |
| 1194 | { |
| 1195 | int group = soundSource.Flags & 0x1FFF; |
| 1196 | |
| 1197 | if (group >= MAX_FLIPMAP) |
| 1198 | continue; |
| 1199 | |
| 1200 | if ((!FlipStats[group] && (soundSource.Flags & SS_FLAG_PLAY_FLIP_ROOM)) || |
| 1201 | (FlipStats[group] && (soundSource.Flags & SS_FLAG_PLAY_BASE_ROOM))) |
| 1202 | { |
| 1203 | continue; |
| 1204 | } |
| 1205 | |
| 1206 | SoundEffect(soundSource.SoundID, (Pose*)&soundSource.Position); |
| 1207 | } |
| 1208 | } |
no test coverage detected