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