From e0ed3688f9757ec97f7bcf6d3863021f7e0396ab Mon Sep 17 00:00:00 2001 From: helixhorned Date: Wed, 5 Mar 2014 21:12:56 +0000 Subject: [PATCH] Mapster32: for wall alignment with [.]/[,], reverse meaning of Alt modifier. git-svn-id: https://svn.eduke32.com/eduke32@4361 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 0f968fc2a..498478fa1 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -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"); }