mirror of
https://github.com/XLabsProject/s1x-client.git
synced 2023-08-02 15:02:12 +02:00
fix hook
This commit is contained in:
parent
a4268681cc
commit
aca4ff0411
@ -152,6 +152,9 @@ namespace logger
|
||||
{
|
||||
nullsub_56();
|
||||
sub_1400E7420();
|
||||
|
||||
// Make havok script's print function actually print
|
||||
utils::hook::jump(0x140701A1C, print);
|
||||
}
|
||||
|
||||
if (!game::environment::is_sp())
|
||||
@ -161,9 +164,6 @@ namespace logger
|
||||
|
||||
com_error_hook.create(game::Com_Error, com_error_stub);
|
||||
|
||||
// Make havok script's print function actually print
|
||||
utils::hook::jump(0x140701A1C, print);
|
||||
|
||||
logger_dev = game::Dvar_RegisterBool("logger_dev", false, game::DVAR_FLAG_SAVED, "Print dev stuff");
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user