From 2153c81afba8132e39d9df1350986f1d12e45f38 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 30 May 2014 19:39:08 +0000 Subject: [PATCH] Mapster32: when pasting onto the bottom part of a [2]-wall, take over y-flipping. Note that x-flipping is determined by the cstat of the upper part of the wall (that is, the wall facing the player, not the nextwall, from which the picnum for the bottom part is taken.) git-svn-id: https://svn.eduke32.com/eduke32@4493 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/astub.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polymer/eduke32/source/astub.c b/polymer/eduke32/source/astub.c index 2a5c8280e..5d5a80ae0 100644 --- a/polymer/eduke32/source/astub.c +++ b/polymer/eduke32/source/astub.c @@ -7237,6 +7237,9 @@ static void Keys3d(void) if (AIMING_AT_WALL) { + if (searchisbottom) + SET_PROTECT_BITS(wall[searchbottomwall].cstat, tempcstat, ~256); + wall[searchbottomwall].picnum = temppicnum; wall[searchbottomwall].shade = tempshade; wall[searchbottomwall].pal = temppal;