Mapster32: when pasting single wall, take over bits 4, 1+64 and 8+256.

That is, everything concerning orientation. Previously, it was wrongly
the bitwise NOT of these bits that got taken over. In particular, if bit
2 (swap bottom walls) would get pasted, ridiculousness could ensue.

git-svn-id: https://svn.eduke32.com/eduke32@3306 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-12-18 22:40:49 +00:00
parent 817bc98964
commit 192e863dd6
1 changed files with 1 additions and 3 deletions

View File

@ -7202,7 +7202,7 @@ static void Keys3d(void)
wall[searchwall].xpanning = tempxpanning;
wall[searchwall].ypanning = tempypanning;
SET_PROTECT_BITS(wall[searchwall].cstat, tempcstat, YAX_NEXTWALLBITS|(4 + 1+64 + 8+256));
SET_PROTECT_BITS(wall[searchwall].cstat, tempcstat, ~(4 + 1+64 + 8+256));
wall[searchwall].hitag = temphitag;
#ifdef YAX_ENABLE
@ -7223,8 +7223,6 @@ static void Keys3d(void)
wall[searchbottomwall].picnum = temppicnum;
wall[searchbottomwall].shade = tempshade;
wall[searchbottomwall].pal = temppal;
asksave = 1;
}
else if (AIMING_AT_MASKWALL)
{