Move V_ClearClipRect after call_mapped
based on toaster's suggestion
This commit is contained in:
parent
3e1e1245ce
commit
abc004ddc8
1 changed files with 3 additions and 3 deletions
|
|
@ -675,12 +675,12 @@ void LUA_HookHUD(huddrawlist_h list, int hook_type)
|
|||
|
||||
hud_running = true; // local hook
|
||||
|
||||
// Catch runaway clipping rectangles.
|
||||
V_ClearClipRect();
|
||||
|
||||
init_hook_call(&hook, 0, res_none);
|
||||
call_mapped_hud(&hook, map);
|
||||
|
||||
// Catch runaway clipping rectangles.
|
||||
V_ClearClipRect();
|
||||
|
||||
hud_running = false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue