mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
don't bail out of Menu_Draw if the qc draw function returns 0. this allows
for combined C/QC drawing.
This commit is contained in:
parent
6b468f4454
commit
eb2c7824f8
1 changed files with 2 additions and 1 deletions
|
@ -389,7 +389,8 @@ Menu_Draw (void)
|
|||
|
||||
if (menu->draw) {
|
||||
PR_ExecuteProgram (&menu_pr_state, menu->draw);
|
||||
return;
|
||||
if (G_INT (&menu_pr_state, OFS_RETURN))
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue