mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 20:39:18 +02:00
Przywrócenie dźwięku dla piasecznicy bez shifta.
This commit is contained in:
@@ -4302,8 +4302,10 @@ bool TTrain::Update()
|
|||||||
{
|
{
|
||||||
if (mvControlled->TrainType != dt_EZT && ggSandButton.SubModel != NULL)
|
if (mvControlled->TrainType != dt_EZT && ggSandButton.SubModel != NULL)
|
||||||
{
|
{
|
||||||
mvControlled->SandDose = true;
|
dsbPneumaticRelay->SetVolume(-30);
|
||||||
|
dsbPneumaticRelay->Play(0,0,0);
|
||||||
ggSandButton.PutValue(1);
|
ggSandButton.PutValue(1);
|
||||||
|
mvControlled->SandDose = true;
|
||||||
// mvControlled->SandDoseOn(true);
|
// mvControlled->SandDoseOn(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user