mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 23:10:53 +01:00
18 lines
568 B
C++
18 lines
568 B
C++
|
|
|
||
|
|
#include <Interface/Menus/MapMenu.h>
|
||
|
|
|
||
|
|
static TiltedPhoques::Initializer s_init(
|
||
|
|
[]() {
|
||
|
|
// Disabled because the mapmenu in first person breaks.
|
||
|
|
// I fix that later, but for now it doesn't break gameplay.
|
||
|
|
#if 0
|
||
|
|
// https://github.com/Vermunds/SkyrimSoulsRE/blob/master/src/Menus/MapMenuEx.cpp
|
||
|
|
// Of course this isnt perfect yet. but we"ll see
|
||
|
|
|
||
|
|
VersionDbPtr<void*> hookLoc(53112);
|
||
|
|
TiltedPhoques::Nop(hookLoc.GetPtrU() + 0x53, 4);
|
||
|
|
TiltedPhoques::Nop(hookLoc.GetPtrU() + 0x9D, 2);
|
||
|
|
TiltedPhoques::Nop(hookLoc.GetPtrU() + 0x9F, 1);
|
||
|
|
#endif
|
||
|
|
});
|