fixed typo

This commit is contained in:
Nikolay Korolev 2020-07-03 15:21:11 +03:00 committed by GitHub
parent 9bb8b39956
commit 49a8dd7459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12129,7 +12129,7 @@ int8 CRunningScript::ProcessCommands1100To1199(int32 command)
CollectParameters(&m_nIp, 1); CollectParameters(&m_nIp, 1);
CPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed; CPed* pPed = CWorld::Players[ScriptParams[0]].m_pPed;
assert(pPed); assert(pPed);
UpdateCompareFlag(pPed->bInVehicle && pPed->m_pMyVehicle->GetVehicleAppearance() == VEHICLE_APPEARANCE_BIKE); UpdateCompareFlag(pPed->bInVehicle && pPed->m_pMyVehicle->GetVehicleAppearance() == VEHICLE_APPEARANCE_BOAT);
return 0; return 0;
} }
case COMMAND_IS_CHAR_IN_ANY_HELI: case COMMAND_IS_CHAR_IN_ANY_HELI: