mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 06:29:18 +02:00
ai acceleration logic tweak, minor audio tweaks, minor bug fixes
This commit is contained in:
@@ -886,7 +886,12 @@ sound_source::update_counter( sound_handle const Sound, int const Value ) {
|
||||
ui::Transcripts.Add( buffer.caption );
|
||||
}
|
||||
}
|
||||
assert( sound( Sound ).playing >= 0 );
|
||||
// assert( sound( Sound ).playing >= 0 );
|
||||
if( sound( Sound ).playing < 0 ) {
|
||||
// HACK: counter can occassionally go into negative values
|
||||
// TODO: investigate and fix
|
||||
sound( Sound ).playing = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user