Add VEHICLE_FIREWEAPON (disabled by default)

This commit is contained in:
Sergeanur 2020-08-20 19:40:35 +03:00
parent 0f5a771292
commit b5ccc721ae
4 changed files with 55 additions and 3 deletions

View file

@ -1634,7 +1634,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: