Skip to content

Commit

Permalink
r_noborder fix for R_ResizeWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nukem9 committed Sep 24, 2016
1 parent 334dbc8 commit df13090
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/game_mod/dvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ void R_RegisterCustomDvars()
if (r_noborder->current.enabled)
style = WS_VISIBLE | WS_POPUP;

PatchMemory(0x006B7A74, (PBYTE)&style, sizeof(DWORD));
PatchMemory(0x006B7A74, (PBYTE)&style, sizeof(DWORD));// R_CreateWindow
PatchMemory(0x006B7EC1, (PBYTE)&style, sizeof(DWORD));// R_ResizeWindow
}

void* rtn_R_RegisterDvars = (void*)0x006CA283;
Expand Down

0 comments on commit df13090

Please sign in to comment.