Remove stupid cast

This commit is contained in:
Sergeanur 2021-07-15 00:47:11 +03:00
parent d2e594db2b
commit 4f78733836
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ CFireManager::StartScriptFire(const CVector &pos, CEntity *target, float strengt
if (target) {
if (target->IsPed()) {
ped->m_pFire = fire;
if (target != (CVehicle *)FindPlayerPed()) {
if (target != FindPlayerPed()) {
CVector2D pos = target->GetPosition();
ped->SetFlee(pos, 10000);
ped->SetMoveAnim();