Always load proper ffotd
This commit is contained in:
parent
dd894951cf
commit
c8b3012592
@ -434,6 +434,11 @@ namespace demonware
|
|||||||
|
|
||||||
original_imports[result->first] = result->second;
|
original_imports[result->first] = result->second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char* get_ffotd_name()
|
||||||
|
{
|
||||||
|
return "core_ffotd_tu32_593";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class component final : public component_interface
|
class component final : public component_interface
|
||||||
@ -481,7 +486,7 @@ namespace demonware
|
|||||||
utils::hook::copy_string(0x1430B93C8_g, "http://%s:%d/auth/");
|
utils::hook::copy_string(0x1430B93C8_g, "http://%s:%d/auth/");
|
||||||
|
|
||||||
utils::hook::set<uint32_t>(0x141EC4B50_g, 0xC3D08948); // Skip publisher file signature stuff
|
utils::hook::set<uint32_t>(0x141EC4B50_g, 0xC3D08948); // Skip publisher file signature stuff
|
||||||
|
utils::hook::call(0x141EC458C_g, get_ffotd_name); // Return unlocalized name
|
||||||
}
|
}
|
||||||
|
|
||||||
void pre_destroy() override
|
void pre_destroy() override
|
||||||
|
Loading…
Reference in New Issue
Block a user