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
This commit is contained in:
helixhorned 2014-05-30 19:39:08 +00:00
parent 66f5b547cf
commit 2153c81afb

View file

@ -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;