chore: update
This commit is contained in:
2
deps/GSL
vendored
2
deps/GSL
vendored
Submodule deps/GSL updated: 3325bbd33d...543d0dd3fe
2
deps/gsc-tool
vendored
2
deps/gsc-tool
vendored
Submodule deps/gsc-tool updated: 2d9781ce0c...c9bd8e5c6a
2
deps/libtomcrypt
vendored
2
deps/libtomcrypt
vendored
Submodule deps/libtomcrypt updated: a6b9aff7aa...c421e570c6
2
deps/libtommath
vendored
2
deps/libtommath
vendored
Submodule deps/libtommath updated: e823b0c34c...839ae9ea66
2
deps/minhook
vendored
2
deps/minhook
vendored
Submodule deps/minhook updated: c3fcafdc10...1e9ad1eb42
@@ -339,6 +339,9 @@ namespace patches
|
||||
game::Dvar_RegisterInt("scr_gun_winlimit", 1, 0, 10, game::DVAR_FLAG_REPLICATED, "Win limit for Gun Game");
|
||||
game::Dvar_RegisterInt("scr_gun_scorelimit", 18, 1, 1000, game::DVAR_FLAG_REPLICATED, "Score limit for Gun Game");
|
||||
|
||||
// Remove cheat protection from r_hudOutlinePostMode
|
||||
utils::hook::set<uint8_t>(0x1405DDF23 + 2, 0x40);
|
||||
|
||||
// Patch game chat on resolutions higher than 1080p to use the right font
|
||||
utils::hook::call(0x14025C825, get_chat_font_handle);
|
||||
utils::hook::call(0x1402BC42F, get_chat_font_handle);
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace demonware
|
||||
{
|
||||
std::string get_motd_text()
|
||||
{
|
||||
return "This is not a copy & pasted client";
|
||||
return "Welcome to iw6-mod. Did you know aiming down sights increases accuracy? Online Interactions Not Rated by the ESRB.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
Welcome to iw6-mod. This is not a copy & pasted project.
|
||||
Welcome to iw6-mod. Did you know aiming down sights increases accuracy? Online Interactions Not Rated by the ESRB.
|
||||
@@ -29,7 +29,7 @@ namespace utils::string
|
||||
|
||||
while (true)
|
||||
{
|
||||
const int res = vsnprintf(entry->buffer_, entry->size_, format, ap);
|
||||
const auto res = vsnprintf_s(entry->buffer_, entry->size_, _TRUNCATE, format, ap);
|
||||
if (res > 0) break; // Success
|
||||
if (res == 0) return nullptr; // Error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user