summaryrefslogtreecommitdiffstats
path: root/src/core/Frontend.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-08-24 21:36:03 +0200
committereray orçunus <erayorcunus@gmail.com>2020-08-24 21:36:03 +0200
commitcb813bd1abdf7758a7893c354de6d9f81291c6cf (patch)
tree7639d3175c889f0e2469308d62e3d25ae6f32b4b /src/core/Frontend.cpp
parentRevert "remove CFO" (diff)
parentsmall fix (diff)
downloadre3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar
re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.gz
re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.bz2
re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.lz
re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.xz
re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.tar.zst
re3-cb813bd1abdf7758a7893c354de6d9f81291c6cf.zip
Diffstat (limited to 'src/core/Frontend.cpp')
-rw-r--r--src/core/Frontend.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/Frontend.cpp b/src/core/Frontend.cpp
index 0c813cbb..d1196042 100644
--- a/src/core/Frontend.cpp
+++ b/src/core/Frontend.cpp
@@ -1721,7 +1721,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: