| 44 | #include "cockpit.h" |
| 45 | |
| 46 | int D3W_Play3dSound(int sound_index, object *cur_obj, float volume, int flags) { |
| 47 | if (Demo_flags == DF_RECORDING) { |
| 48 | DemoWrite3DSound(sound_index, OBJNUM(cur_obj), 1, volume); |
| 49 | } |
| 50 | |
| 51 | return Sound_system.Play3dSound(sound_index, cur_obj, volume, flags); |
| 52 | } |
| 53 | |
| 54 | int D3W_Play2dSound(int sound_index, float volume) { |
| 55 | if (Demo_flags == DF_RECORDING) { |
nothing calls this directly
no test coverage detected