mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Minor fixes
git-svn-id: https://svn.eduke32.com/eduke32@217 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2142db118e
commit
0bc64d3518
2 changed files with 4 additions and 2 deletions
|
@ -1309,8 +1309,10 @@ char AddGameVar(char *pszLabel, long lValue, unsigned long dwFlags)
|
|||
aGameVars[i].dwFlags=dwFlags;
|
||||
aGameVars[i].lValue=lValue;
|
||||
if(aDefaultGameVars[i].szLabel == NULL)
|
||||
{
|
||||
aDefaultGameVars[i].szLabel=Bcalloc(MAXVARLABEL,sizeof(char));
|
||||
Bstrcpy(aDefaultGameVars[i].szLabel,pszLabel);
|
||||
Bstrcpy(aDefaultGameVars[i].szLabel,pszLabel);
|
||||
}
|
||||
aDefaultGameVars[i].dwFlags=dwFlags;
|
||||
aDefaultGameVars[i].lValue=lValue;
|
||||
}
|
||||
|
|
|
@ -592,7 +592,7 @@ void menus(void)
|
|||
vscrn();
|
||||
|
||||
if(KB_KeyPressed(sc_Q) && current_menu >= 0 && (current_menu > 502 || current_menu < 500) && current_menu != 20003 &&
|
||||
current_menu != 20005 && current_menu != 210 && current_menu != 603)
|
||||
current_menu != 20005 && current_menu != 210 && current_menu != 603 && current_menu != 10001 && !(current_menu > 359 && current_menu < 370))
|
||||
{
|
||||
last_menu = current_menu;
|
||||
last_probey = probey;
|
||||
|
|
Loading…
Reference in a new issue