MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / update

Function update

src/OpenLoco/src/Vehicles/VehicleManager.cpp:33–42  ·  view source on GitHub ↗

0x004A8826

Source from the content-addressed store, hash-verified

31{
32 // 0x004A8826
33 void update()
34 {
35 if (Game::hasFlags(GameStateFlags::tileManagerLoaded) && !SceneManager::isEditorMode())
36 {
37 for (auto* v : VehicleList())
38 {
39 v->updateVehicle();
40 }
41 }
42 }
43
44 // 0x004C3C54
45 void updateMonthly()

Callers

nothing calls this directly

Calls 3

isEditorModeFunction · 0.85
updateVehicleMethod · 0.80
hasFlagsFunction · 0.50

Tested by

no test coverage detected