Skip to content

Commit

Permalink
Merge pull request #133 from NukeULater/patch-1
Browse files Browse the repository at this point in the history
Fix for #118
  • Loading branch information
iSupersniper authored Aug 24, 2018
2 parents b66a86f + b2c9b40 commit 7b41a82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions xlive/H2MOD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1300,6 +1300,11 @@ void H2MOD::ApplyHooks() {
PatchCall(Base + 0x00182d6d, GrenadeChainReactIsEngineMPCheck);
PatchCall(Base + 0x00092C05, BansheeBombIsEngineMPCheck);
PatchCall(Base + 0x0013ff75, FlashlightIsEngineSPCheck);

// Fixes issue #118
/* g_depth_bias always NULL rather than taking any value from
shader tag before calling g_D3DDevice->SetRenderStatus(D3DRS_DEPTHBIAS, g_depth_bias); */
NopFill(GetBase() + 0x269FD5, 0x8);
}
else {

Expand Down

0 comments on commit 7b41a82

Please sign in to comment.