mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 180215. sound velocity calculation, ai brake charging logic tweak, 3d shapes boundary calculation fixes
This commit is contained in:
@@ -835,8 +835,8 @@ sound_source::location() const {
|
||||
void
|
||||
sound_source::update_counter( sound_handle const Sound, int const Value ) {
|
||||
|
||||
sound( Sound ).playing += Value;
|
||||
assert( sound( Sound ).playing >= 0 );
|
||||
sound( Sound ).playing = std::max( 0, sound( Sound ).playing + Value );
|
||||
// assert( sound( Sound ).playing >= 0 );
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user