- fixed: The math for emulating the old slop overflow was not correct and made the affected sectors in void.wad display incorrectly.

- set compat_polyobj for void.wad because its polyobjects glitch quite a bit with the normal setting.
This commit is contained in:
Christoph Oelckers 2016-12-03 14:42:06 +01:00
parent 28604bad62
commit 5117b32431
2 changed files with 3 additions and 2 deletions

View File

@ -178,8 +178,8 @@ void P_SetSlope (secplane_t *plane, bool setCeil, int xyangi, int zangi, const D
if (ib_compatflags & BCOMPATF_SETSLOPEOVERFLOW)
{
// We have to consider an integer multiplication overflow here.
norm[0] = FixedToFloat(FloatToFixed(zang.Cos()) * FloatToFixed(xyang.Cos()));
norm[1] = FixedToFloat(FloatToFixed(zang.Cos()) * FloatToFixed(xyang.Sin()));
norm[0] = FixedToFloat(FloatToFixed(zang.Cos()) * FloatToFixed(xyang.Cos())) / 65536.;
norm[1] = FixedToFloat(FloatToFixed(zang.Cos()) * FloatToFixed(xyang.Sin())) / 65536.;
}
else
{

View File

@ -27,6 +27,7 @@
setwallyscale 717 front bot 1.090909
setslopeoverflow
polyobj
}
B2D8DA03489D1C67F60DC87FBC4EA338 // map01 - Massmouth 2