18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 14:16:48 +01:00

perf(physics): the array of the vehicle facts kept to its file

This commit is contained in:
jerrrrycho
2026-11-30 22:38:05 +01:00
parent 7f3990b63a
commit c9ebc60faa
+1 -1
View File
@@ -129,7 +129,7 @@ struct vehicle_facts {
bool active { false }; // its physics on, or the user in it
bool loading { false }; // exchanging its load
};
std::vector<vehicle_facts> facts;
static std::vector<vehicle_facts> facts; // by the place of the vehicle in the table, refilled at each update()
// whether any vehicle of the train is within the distance of any vehicle of the other one
bool