Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed May 27, 2022
2 parents 86e5207 + 51a1fc2 commit db104cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/sound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit db104cf

Please sign in to comment.