Last few changes as reccomended by Red. (<3 u, no hetero)

This commit is contained in:
toasterbabe 2016-06-04 19:47:40 +01:00
parent c1caf21323
commit ba528a075e
2 changed files with 1 additions and 2 deletions

View file

@ -431,7 +431,7 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
/// Kalaron/Eternity Engine slope code (SRB2CB ported) /// Kalaron/Eternity Engine slope code (SRB2CB ported)
#define ESLOPE #define ESLOPE
#if defined(ESLOPE) #ifdef ESLOPE
/// Backwards compatibility with SRB2CB's slope linedef types. /// Backwards compatibility with SRB2CB's slope linedef types.
/// \note A simple shim that prints a warning. /// \note A simple shim that prints a warning.
#define ESLOPE_TYPESHIM #define ESLOPE_TYPESHIM

View file

@ -275,7 +275,6 @@ void P_SpawnSlope_Line(int linenum)
ny = -FixedDiv(line->dx, len); ny = -FixedDiv(line->dx, len);
} }
// TODO: Transform origin relative to the bounds of an individual FOF
origin.x = line->v1->x + (line->v2->x - line->v1->x)/2; origin.x = line->v1->x + (line->v2->x - line->v1->x)/2;
origin.y = line->v1->y + (line->v2->y - line->v1->y)/2; origin.y = line->v1->y + (line->v2->y - line->v1->y)/2;