Skip to content

Commit 2d37535

Browse files
Steven Garcianum0005
authored andcommitted
[Guerilla] Add surface index to firing position definition
1 parent 9611e54 commit 2d37535

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

H2Codez/H2Guerilla/H2Guerilla.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,9 @@ void H2GuerrilaPatches::Init()
359359
// allow other processes to read files open with fopen_s
360360
WriteValue(0x006B1614 + 1, _SH_DENYWR);
361361

362+
// Add surface index to firing position definition.
363+
WriteValue<tag_field>(0x96ED68, { tag_field::long_integer, "surface index", NULL, blam_tag::null() });
364+
362365
// patch code for embedded tool console to use the right exe name
363366
WritePointer(0x004761AC + 1, "H2tool ");
364367

0 commit comments

Comments
 (0)