| 1180 | } |
| 1181 | |
| 1182 | int GetShatterSound(int shatterID) |
| 1183 | { |
| 1184 | auto fxID = Statics[shatterID].shatterSound; |
| 1185 | if (fxID != NO_VALUE && fxID < g_Level.SoundMap.size()) |
| 1186 | return fxID; |
| 1187 | |
| 1188 | return SFX_TR4_SMASH_ROCK; |
| 1189 | } |
| 1190 | |
| 1191 | void PlaySoundSources() |
| 1192 | { |
no test coverage detected