Skip to content

Commit

Permalink
Project2DFX v3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Jul 29, 2015
1 parent ccc404a commit 70ac26f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion IIILodLights/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,12 @@ void CExplosionAddModifiedExplosion()
injector::MakeNOP(0x559FD3, 5, true);
for (auto it = ExplosionTypes.begin(); it != ExplosionTypes.end(); ++it)
{
AddExplosion(a1, a2, *it, a4, a5);
if (*it == eExplosionType)
break;
AddExplosion(a1, a2, *it, a4, a5);
}
injector::MakeCALL(0x559FD3, 0x4B1140, true);
AddExplosion(a1, a2, eExplosionType, a4, a5);
return;
});
}
Expand Down
2 changes: 1 addition & 1 deletion IVLodLights/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ void __declspec(naked) CLODLightManager::IV::LoadObjectInstanceHook()
PossiblyAddThisEntity(pInstance);
_asm
{
mov ebx, [ebp + 8]
//mov ebx, [ebp + 8]
mov ecx, [ebx + 1Ch]
jmp hookJmpAddr
}
Expand Down
3 changes: 2 additions & 1 deletion VCLodLights/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,12 @@ void CExplosionAddModifiedExplosion()
injector::MakeNOP(0x5C6661, 5, true);
for (auto it = ExplosionTypes.begin(); it != ExplosionTypes.end(); ++it)
{
AddExplosion(vehicle, ped, *it, pos, delay, a6);
if (*it == type)
break;
AddExplosion(vehicle, ped, *it, pos, delay, a6);
}
injector::MakeCALL(0x5C6661, 0x4D82D0, true);
AddExplosion(vehicle, ped, type, pos, delay, a6);
return;
});
}
Expand Down

0 comments on commit 70ac26f

Please sign in to comment.