Skip to content

Commit

Permalink
[Guerilla] Add surface index to firing position definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Garcia authored and num0005 committed Jun 20, 2021
1 parent 9611e54 commit 2d37535
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions H2Codez/H2Guerilla/H2Guerilla.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,9 @@ void H2GuerrilaPatches::Init()
// allow other processes to read files open with fopen_s
WriteValue(0x006B1614 + 1, _SH_DENYWR);

// Add surface index to firing position definition.
WriteValue<tag_field>(0x96ED68, { tag_field::long_integer, "surface index", NULL, blam_tag::null() });

// patch code for embedded tool console to use the right exe name
WritePointer(0x004761AC + 1, "H2tool ");

Expand Down

0 comments on commit 2d37535

Please sign in to comment.