mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
817bc98964
commit
192e863dd6
1 changed files with 1 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue