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:
helixhorned 2012-12-14 19:28:11 +00:00
parent 4cc5c431ae
commit 243bea66dd
1 changed files with 5 additions and 1 deletions

View File

@ -5542,8 +5542,12 @@ static void Keys3d(void)
else
{
clamped = addtobyte(&AIMED_CF_SEL(shade), tsign);
// TODO: factor formatting stuff out and use elsewhere?
(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)":"");
}
}