Mapster32: for wall alignment with [.]/[,], reverse meaning of Alt modifier.

git-svn-id: https://svn.eduke32.com/eduke32@4361 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-03-05 21:12:56 +00:00
parent 689a8aef1d
commit e0ed3688f9

View file

@ -5206,7 +5206,7 @@ static void Keys3d(void)
if (AIMING_AT_WALL_OR_MASK && ((tsign=PRESSED_KEYSC(PERIOD)) || PRESSED_KEYSC(COMMA)))
{
uint32_t flags = (!eitherSHIFT) | (tsign?0:16) |
(eitherALT<<2) | ((!!keystatus[KEYSC_QUOTE])<<3) |
((!eitherALT)<<2) | ((!!keystatus[KEYSC_QUOTE])<<3) |
32*(searchwall != searchbottomwall);
int32_t naligned=AutoAlignWalls(searchwall, flags, 0);
@ -5216,7 +5216,7 @@ static void Keys3d(void)
message("Aligned %d wall%s based on wall %d%s%s%s%s", naligned,
naligned==1 ? "" : "s", searchwall,
!eitherSHIFT ? " iteratively" : "",
eitherALT ? ", aligning xrepeats" : "",
!eitherALT ? ", aligning xrepeats" : "",
keystatus[KEYSC_QUOTE] ? ", aligning TROR-nextwalls" : "",
(wall[searchbottomwall].cstat&4) ? "" : ". WARNING: top-aligned");
}