Pad, BulletInfo, ProjectileInfo, fixes

This commit is contained in:
eray orçunus
2020-10-08 00:21:44 +03:00
parent e3571510ae
commit da39624f1c
20 changed files with 608 additions and 315 deletions

View File

@ -12020,7 +12020,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
script_assert(pVehicle);
bool bIsBurst = false;
CBike* pBike = (CBike*)pVehicle;
if (pVehicle->m_vehType == VEHICLE_APPEARANCE_BIKE) {
if (pVehicle->IsBike()) {
if (ScriptParams[1] == 4) {
for (int i = 0; i < 2; i++) {
if (pBike->m_wheelStatus[i] == WHEEL_STATUS_BURST)