Fix cg_fovScale resetting
This commit is contained in:
parent
a88e1c6192
commit
d711d5f6c5
@ -35,6 +35,9 @@ namespace fov
|
|||||||
|
|
||||||
// Patch cg_fovScale flags
|
// Patch cg_fovScale flags
|
||||||
utils::hook::set<uint32_t>(0x14090E735_g, game::DVAR_ARCHIVE);
|
utils::hook::set<uint32_t>(0x14090E735_g, game::DVAR_ARCHIVE);
|
||||||
|
|
||||||
|
// Don't reset cg_fovScale
|
||||||
|
utils::hook::set<uint8_t>(0x140926D2A_g, 0xC3);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user