Skip to content

Commit

Permalink
Add fx patch
Browse files Browse the repository at this point in the history
  • Loading branch information
alicealys committed Nov 18, 2024
1 parent c9a8502 commit 4395381
Show file tree
Hide file tree
Showing 2 changed files with 659 additions and 269 deletions.
4 changes: 4 additions & 0 deletions src/client/component/map_patches.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -933,6 +933,10 @@ namespace map_patches
public:
void post_unpack() override
{
// skip fx name prefix checks
utils::hook::set<uint8_t>(0x1404E34A7, 0xEB); // createfx parse
utils::hook::set<uint8_t>(0x1404E34C0, 0xEB); // scr_loadfx

// patch iw6 leafTable decoding
r_decode_light_grid_block_hook.create(0x140765420, r_decode_light_grid_block_stub);

Expand Down
Loading

0 comments on commit 4395381

Please sign in to comment.