Skip to content

Commit

Permalink
tiny style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
p0358 committed Jul 26, 2024
1 parent 8cd7ba4 commit e4fe095
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions bmedll/MiscRenderHooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ void __fastcall CMatSystemSurface__ApplyHudwarpSettings(void* thisptr, HudwarpSe
if (hudwarp_use_gpu->GetInt() || hudwarp_disable->GetInt())
{
if (screenX > screenY) [[likely]]
{
hudwarp_chopsize->SetValueInt(screenX);
}
{
hudwarp_chopsize->SetValueInt(screenX);
}
else
{
hudwarp_chopsize->SetValueInt(screenY);
Expand Down Expand Up @@ -170,7 +170,8 @@ __int64 __fastcall sub_5ADC0_Hook(__int64 queuedRenderContext, unsigned long col
case 111111:
pPerf->BeginEvent(Util::Widen(pszName).c_str());

if (!strcmp(pszName, "HUD")) {
if (!strcmp(pszName, "HUD"))
{
isRenderingHud = true;
HudRenderStart();
}
Expand Down

0 comments on commit e4fe095

Please sign in to comment.