diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-08-24 20:59:32 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-08-24 20:59:32 +0200 |
commit | a3322f17d594f6fccf76dcd1acdbbb9de4558aa6 (patch) | |
tree | 40e4ecce4ba6115bfa6cb9a8bbbcc9915ff2011c /src/core/Frontend.cpp | |
parent | fixes to zones and vehicle comp rules (diff) | |
parent | small fix (diff) | |
download | re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.tar re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.tar.gz re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.tar.bz2 re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.tar.lz re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.tar.xz re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.tar.zst re3-a3322f17d594f6fccf76dcd1acdbbb9de4558aa6.zip |
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r-- | src/core/Frontend.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp index b76acf40..c55b139c 100644 --- a/src/core/Frontend.cpp +++ b/src/core/Frontend.cpp @@ -1544,7 +1544,11 @@ CMenuManager::DrawControllerBound(int32 yStart, int32 xStart, int32 unused, int8 } else if (column == CONTSETUP_VEHICLE_COLUMN) { switch (optionIdx) { case 0: - controllerAction = PED_FIREWEAPON; +#ifdef BIND_VEHICLE_FIREWEAPON + controllerAction = VEHICLE_FIREWEAPON; +#else + controllerAction = PED_FIREWEAPON; +#endif break; case 1: case 2: |