diff --git a/dlls/sound.cpp b/dlls/sound.cpp index 71899bb7c..82012541b 100644 --- a/dlls/sound.cpp +++ b/dlls/sound.cpp @@ -1346,7 +1346,7 @@ void SENTENCEG_Init() if ('\0' == buffer[j]) continue; - if (gcallsentences > CVOXFILESENTENCEMAX) + if (gcallsentences >= CVOXFILESENTENCEMAX) { ALERT(at_error, "Too many sentences in sentences.txt!\n"); break;