diff options
author | aap <aap@papnet.eu> | 2021-01-03 17:01:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 17:01:17 +0100 |
commit | 65796459343a01ddd17170104599ae340b90bb1d (patch) | |
tree | d16a5bc09e9cebd006085f30a27dfb3567927ee7 /src/control/Garages.cpp | |
parent | Merge pull request #921 from TheOfficialFloW/patch-2 (diff) | |
parent | Pad2 fix (diff) | |
download | re3-65796459343a01ddd17170104599ae340b90bb1d.tar re3-65796459343a01ddd17170104599ae340b90bb1d.tar.gz re3-65796459343a01ddd17170104599ae340b90bb1d.tar.bz2 re3-65796459343a01ddd17170104599ae340b90bb1d.tar.lz re3-65796459343a01ddd17170104599ae340b90bb1d.tar.xz re3-65796459343a01ddd17170104599ae340b90bb1d.tar.zst re3-65796459343a01ddd17170104599ae340b90bb1d.zip |
Diffstat (limited to 'src/control/Garages.cpp')
-rw-r--r-- | src/control/Garages.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 779041cc..72053f8d 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -23,6 +23,7 @@ #include "Vehicle.h" #include "Wanted.h" #include "World.h" +#include "VarConsole.h" //--MIAMI: file done @@ -129,8 +130,15 @@ int32 hGarages = AEHANDLE_NONE; CGarage CGarages::aGarages[NUM_GARAGES]; bool CGarages::bCamShouldBeOutisde; +#ifndef MASTER +bool bPrintNearestObject; +#endif + void CGarages::Init(void) { +#ifndef MASTER + VarConsole.Add("Print nearest object", &bPrintNearestObject, true); +#endif CrushedCarId = -1; NumGarages = 0; MessageEndTime = 0; |