Open DK22Pac opened 7 years ago
@Deji69 any idea why do we have this function hooked?
Probably something to do with script dependent drawing.
this patch can be undone in a script with
0A8C: write_memory 0x465A6F size 4 value 0x0D8B2774 virtual_protect 1 // CLEO
or
Memory.WriteU32(0x465A6F, 0x0D8B2774, true); // CLEO Redux
yet it's still not clear what it affects.
https://github.com/cleolibrary/CLEO4/blob/07df6640da04799118f6273d55ffbb0f4239ccf9/CLEO4/CScriptEngine.cpp#L653 This may cause a crash if you load/unload TXD many times. https://sannybuilder.com/forums/viewtopic.php?id=4548