diff options
Diffstat (limited to 'src/audio/PolRadio.h')
-rw-r--r-- | src/audio/PolRadio.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio/PolRadio.h b/src/audio/PolRadio.h index c7b0bcc8..55b2c9f7 100644 --- a/src/audio/PolRadio.h +++ b/src/audio/PolRadio.h @@ -50,7 +50,7 @@ public: } return FALSE; } - + uint32 Remove() { if (m_nSamplesInQueue != 0) { @@ -59,8 +59,9 @@ public: m_nRemoveOffset = (m_nRemoveOffset + 1) % POLICE_RADIO_QUEUE_MAX_SAMPLES; return sample; } - return TOTAL_AUDIO_SAMPLES; + return NO_SAMPLE; } + }; VALIDATE_SIZE(cPoliceRadioQueue, 244); |