mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- For controls that are not bound, the customize controls menu now displays
a black --- instead of ???. SVN r1050 (trunk)
This commit is contained in:
parent
1b835d46c1
commit
e391fe1aeb
3 changed files with 12 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
June 26, 2008
|
June 26, 2008
|
||||||
|
- For controls that are not bound, the customize controls menu now displays
|
||||||
|
a black --- instead of ???.
|
||||||
- Applied Gez's BossBrainPatch3.
|
- Applied Gez's BossBrainPatch3.
|
||||||
- Fixed: P_BulletSlope() did not return the linetarget. This effected
|
- Fixed: P_BulletSlope() did not return the linetarget. This effected
|
||||||
the Sigil, A_JumpIfCloser, and A_JumpIfTargetInLOS.
|
the Sigil, A_JumpIfCloser, and A_JumpIfTargetInLOS.
|
||||||
|
|
|
@ -681,7 +681,7 @@ void C_NameKeys (char *str, int first, int second)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!c)
|
if (!c)
|
||||||
strcpy (str, "???");
|
*str = '\0';
|
||||||
}
|
}
|
||||||
|
|
||||||
void C_UnbindACommand (char *str)
|
void C_UnbindACommand (char *str)
|
||||||
|
|
|
@ -1896,7 +1896,15 @@ void M_OptDrawer ()
|
||||||
char description[64];
|
char description[64];
|
||||||
|
|
||||||
C_NameKeys (description, item->b.key1, item->c.key2);
|
C_NameKeys (description, item->b.key1, item->c.key2);
|
||||||
M_DrawConText(CR_WHITE, CurrentMenu->indent + 14, y-1+labelofs, description);
|
if (description[0])
|
||||||
|
{
|
||||||
|
M_DrawConText(CR_WHITE, CurrentMenu->indent + 14, y-1+labelofs, description);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
screen->DrawText(CR_BLACK, CurrentMenu->indent + 14, y + labelofs, "---",
|
||||||
|
DTA_Clean, true, TAG_DONE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue