Codechange: Don't use globals for return values from vehicle command procs.
commit41fa16f3254ffa9f44b85d6570a2293e8438b427
authorMichael Lutz <michi@icosahedron.de>
Tue, 30 Nov 2021 22:21:16 +0000 (30 23:21 +0100)
committerMichael Lutz <michi@icosahedron.de>
Thu, 16 Dec 2021 21:28:32 +0000 (16 22:28 +0100)
treea508634b7dea7a0937e92c143db0a392cd99a4b0
parent57b82e2e99aa30a649d1fd80f192ccf5338dc7c4
Codechange: Don't use globals for return values from vehicle command procs.
21 files changed:
src/aircraft_cmd.cpp
src/autoreplace_cmd.cpp
src/build_vehicle_gui.cpp
src/depot_cmd.h
src/depot_gui.cpp
src/economy.cpp
src/roadveh_cmd.cpp
src/script/api/script_object.cpp
src/script/api/script_object.hpp
src/script/api/script_vehicle.cpp
src/script/script_instance.cpp
src/script/script_storage.hpp
src/ship_cmd.cpp
src/train_cmd.cpp
src/train_cmd.h
src/train_gui.cpp
src/vehicle.cpp
src/vehicle_cmd.cpp
src/vehicle_cmd.h
src/vehicle_func.h
src/vehicle_gui.cpp