mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 07:39:19 +02:00
Cofnięcie zmian wyświetlania mechanika; to trzeba dogłębniej przerobić.
Aktualizacja świateł z programatora przy załączaniu baterii tylko gdy ten istnieje.
This commit is contained in:
@@ -459,7 +459,10 @@ void TTrain::OnKeyDown(int cKey)
|
||||
if (mvOccupied->BatterySwitch(true)) // bateria potrzebna np. do zapalenia œwiate³
|
||||
{
|
||||
dsbSwitch->Play(0, 0, 0);
|
||||
SetLights();
|
||||
if (mvOccupied->LightsPosNo > 0)
|
||||
{
|
||||
SetLights();
|
||||
}
|
||||
if (TestFlag(mvOccupied->SecuritySystem.SystemType,
|
||||
2)) // Ra: znowu w kabinie jest coœ, co byæ nie powinno!
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user