16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-20 22:59:18 +02:00

build 191224. opengl 3.3 renderer material glossiness support, minor bug fixes

This commit is contained in:
tmj-fstate
2019-12-25 19:42:50 +01:00
parent db49440653
commit 943e05462d
11 changed files with 48 additions and 16 deletions

View File

@@ -4212,7 +4212,7 @@ void TDynamicObject::RenderSounds() {
clamp(
MoverParameters->Vel / 40.0,
0.0, 1.0 ) )
+ ( MyTrack->eType == tt_Switch ? 0.25 : 0.0 );
* ( MyTrack->eType == tt_Switch ? 100.0 : 1.0 );
}
else {
volume = 0;