diff options
Diffstat (limited to 'sound/adlib.cpp')
-rw-r--r-- | sound/adlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/adlib.cpp b/sound/adlib.cpp index a2ea956d24..792617f388 100644 --- a/sound/adlib.cpp +++ b/sound/adlib.cpp @@ -544,7 +544,7 @@ byte AdlibSoundDriver::struct10_ontimer(Struct10 *s10, Struct11 *s11) { result = 1; } } - assert(s10->num_steps>=0); + if (!--s10->num_steps) { s10->active++; if (s10->active > 4) { |