- removed R_PointToAngle2 call in P_Setup.cpp.

- removed long inactive node saving code in p_writemap.cpp. If this file is ever made operational again it will be with UDMF output.
This commit is contained in:
Christoph Oelckers 2016-04-02 20:10:25 +02:00
commit 96a02f922d
2 changed files with 1 additions and 63 deletions

View file

@ -1315,7 +1315,7 @@ void P_LoadSegs (MapData * map)
// off, then move one vertex. This may seem insignificant, but one degree
// errors _can_ cause firelines.
ptp_angle = R_PointToAngle2 (li->v1->fixX(), li->v1->fixY(), li->v2->fixX(), li->v2->fixY());
ptp_angle = (li->v2->fPos() - li->v1->fPos()).Angle().BAMs();
dis = 0;
delta_angle = (absangle(ptp_angle-(segangle<<16))>>ANGLETOFINESHIFT)*360/FINEANGLES;