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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user