Merge branch 'master' into testing
This commit is contained in:
commit
88098ac4ce
@ -418,7 +418,9 @@ void level_init()
|
||||
{
|
||||
level_init_timer.update();
|
||||
}
|
||||
static HookedFunction Paint(HookedFunctions_types::HF_Draw, "anti_motd_info", 3, []() {
|
||||
|
||||
#if ENABLE_VISUALS
|
||||
static HookedFunction Paint(HookedFunctions_types::HF_Draw, "anti_motd_info", 3, [](){
|
||||
if (!catbotmode || !anti_motd)
|
||||
return;
|
||||
if (CE_BAD(LOCAL_E) || !LOCAL_E->m_bAlivePlayer())
|
||||
@ -426,4 +428,5 @@ static HookedFunction Paint(HookedFunctions_types::HF_Draw, "anti_motd_info", 3,
|
||||
AddCenterString(health, colors::green);
|
||||
AddCenterString(ammo, colors::yellow);
|
||||
});
|
||||
#endif
|
||||
} // namespace hacks::shared::catbot
|
||||
|
Reference in New Issue
Block a user