mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-08-21 22:06:02 +02:00
Remove stupid cast
This commit is contained in:
@@ -396,7 +396,7 @@ CFireManager::StartScriptFire(const CVector &pos, CEntity *target, float strengt
|
|||||||
if (target) {
|
if (target) {
|
||||||
if (target->IsPed()) {
|
if (target->IsPed()) {
|
||||||
ped->m_pFire = fire;
|
ped->m_pFire = fire;
|
||||||
if (target != (CVehicle *)FindPlayerPed()) {
|
if (target != FindPlayerPed()) {
|
||||||
CVector2D pos = target->GetPosition();
|
CVector2D pos = target->GetPosition();
|
||||||
ped->SetFlee(pos, 10000);
|
ped->SetFlee(pos, 10000);
|
||||||
ped->SetMoveAnim();
|
ped->SetMoveAnim();
|
||||||
|
Reference in New Issue
Block a user