fix release build
This commit is contained in:
@ -80,16 +80,26 @@ namespace logger
|
||||
console::warn(buffer);
|
||||
}
|
||||
|
||||
void com_init_stub()
|
||||
void com_init_pre()
|
||||
{
|
||||
console::info("%s %s build %s %s\n", "IW7", VERSION, "win64", __DATE__);
|
||||
|
||||
console::info("--- Common Initialization ---\n");
|
||||
utils::hook::invoke<void>(0xB8EF90_b);
|
||||
}
|
||||
|
||||
void com_init_post()
|
||||
{
|
||||
console::info("--- Common Initialization Complete ---\n");
|
||||
|
||||
console::info("Working directory: %s\n", game::Sys_Cwd());
|
||||
}
|
||||
|
||||
void com_init_stub(void* a1)
|
||||
{
|
||||
com_init_pre();
|
||||
utils::hook::invoke<void>(0xB8EF90_b, a1);
|
||||
com_init_post();
|
||||
}
|
||||
}
|
||||
|
||||
class component final : public component_interface
|
||||
|
@ -186,7 +186,7 @@ namespace scripting
|
||||
if (!game::Com_FrontEnd_IsInFrontEnd())
|
||||
{
|
||||
console::info("------- Game Initialization -------\n");
|
||||
console::info("gamename: %s\n", "Call of Duty Infinite Warfare");
|
||||
console::info("gamename: %s\n", "IW7");
|
||||
console::info("gamedate: %s\n", __DATE__);
|
||||
|
||||
//G_LogPrintf("------------------------------------------------------------\n");
|
||||
|
Reference in New Issue
Block a user