- Added a compatibility lump because I think it's a shame that Void doesn't
work properly on new ZDooms after all the collaboration I had with Cyb on that map. (Works with other maps, too.) SVN r1402 (trunk)
This commit is contained in:
parent
84c5c7d38e
commit
4e509728a0
16 changed files with 1058 additions and 309 deletions
|
|
@ -178,8 +178,16 @@ void P_SetSlope (secplane_t *plane, bool setCeil, int xyangi, int zangi,
|
|||
|
||||
FVector3 norm;
|
||||
|
||||
norm[0] = float(finecosine[zang]) * float(finecosine[xyang]);
|
||||
norm[1] = float(finecosine[zang]) * float(finesine[xyang]);
|
||||
if (ib_compatflags & BCOMPATF_SETSLOPEOVERFLOW)
|
||||
{
|
||||
norm[0] = float(finecosine[zang] * finecosine[xyang]);
|
||||
norm[1] = float(finecosine[zang] * finesine[xyang]);
|
||||
}
|
||||
else
|
||||
{
|
||||
norm[0] = float(finecosine[zang]) * float(finecosine[xyang]);
|
||||
norm[1] = float(finecosine[zang]) * float(finesine[xyang]);
|
||||
}
|
||||
norm[2] = float(finesine[zang]) * 65536.f;
|
||||
norm.MakeUnit();
|
||||
plane->a = (int)(norm[0] * 65536.f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue