mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-15 01:24:35 +02:00
fix soundtrack volume on the title screen
This commit is contained in:
@@ -1485,7 +1485,8 @@ struct Level : IGame {
|
||||
|
||||
if (inventory.isActive() || level.isTitle()) {
|
||||
Sound::reverb.setRoomSize(vec3(1.0f));
|
||||
volWater = volTrack = 0.0f;
|
||||
volWater = 0.0f;
|
||||
volTrack = level.isTitle() ? 0.9f : 0.0f;
|
||||
} else {
|
||||
params->time += Core::deltaTime;
|
||||
animTexTimer += Core::deltaTime;
|
||||
|
Reference in New Issue
Block a user