#if ENABLE_VISUALS

This commit is contained in:
TotallyNotElite 2018-12-05 11:37:43 +01:00 committed by GitHub
parent 9fa76cf563
commit 4430544a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -461,6 +461,7 @@ void level_init()
{
level_init_timer.update();
}
#if ENABLE_VISUALS
static HookedFunction Paint(HookedFunctions_types::HF_Draw, "anti_motd_info", 3, [](){
if (!catbotmode || !anti_motd)
return;
@ -469,4 +470,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