mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 11:39:19 +02:00
replaced the list of dynamic objects on tracks with stl-based version
This commit is contained in:
@@ -672,7 +672,7 @@ public:
|
||||
/*nastawniki:*/
|
||||
int MainCtrlPosNo = 0; /*ilosc pozycji nastawnika*/
|
||||
int ScndCtrlPosNo = 0;
|
||||
int LightsPosNo = 1;
|
||||
int LightsPosNo = 0; // NOTE: values higher than 0 seem to break the current code for light switches
|
||||
int LightsDefPos = 0;
|
||||
bool LightsWrap = false;
|
||||
int Lights[2][17]; // pozycje świateł, przód - tył, 1 .. 16
|
||||
|
||||
@@ -298,7 +298,7 @@ Name( NameInit )
|
||||
}
|
||||
|
||||
for (int b = 0; b < 2; ++b)
|
||||
for (int k = 1; k <= 17; ++k)
|
||||
for (int k = 0; k < 17; ++k)
|
||||
Lights[b][k] = 0;
|
||||
|
||||
for (int b = -1; b <= MainBrakeMaxPos; ++b)
|
||||
|
||||
Reference in New Issue
Block a user