mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
Mapster32: correct message when changing shade by small steps ([+], [-], mwheel)
git-svn-id: https://svn.eduke32.com/eduke32@3289 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
4cc5c431ae
commit
243bea66dd
1 changed files with 5 additions and 1 deletions
|
@ -5542,8 +5542,12 @@ static void Keys3d(void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
clamped = addtobyte(&AIMED_CF_SEL(shade), tsign);
|
clamped = addtobyte(&AIMED_CF_SEL(shade), tsign);
|
||||||
|
// TODO: factor formatting stuff out and use elsewhere?
|
||||||
(clamped ? message : silentmessage)
|
(clamped ? message : silentmessage)
|
||||||
("%s %d shade %d%s", Typestr[searchstat], i,
|
("%s %s%d shade %d%s", Typestr[searchstat],
|
||||||
|
AIMING_AT_CEILING_OR_FLOOR ? "of sector " : "",
|
||||||
|
AIMING_AT_WALL_OR_MASK ? SELECT_WALL() :
|
||||||
|
(AIMING_AT_CEILING_OR_FLOOR ? searchsector : searchwall),
|
||||||
AIMED_CF_SEL(shade), clamped ? " (clamped)":"");
|
AIMED_CF_SEL(shade), clamped ? " (clamped)":"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue