From ba528a075ee578bd4b10d4f1bb56b424c6e1ae44 Mon Sep 17 00:00:00 2001
From: toasterbabe <rollerorbital@gmail.com>
Date: Sat, 4 Jun 2016 19:47:40 +0100
Subject: [PATCH] Last few changes as reccomended by Red. (<3 u, no hetero)

---
 src/doomdef.h  | 2 +-
 src/p_slopes.c | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/doomdef.h b/src/doomdef.h
index e645c0848e..cec46a32c4 100644
--- a/src/doomdef.h
+++ b/src/doomdef.h
@@ -431,7 +431,7 @@ extern const char *compdate, *comptime, *comprevision, *compbranch;
 /// Kalaron/Eternity Engine slope code (SRB2CB ported)
 #define ESLOPE
 
-#if defined(ESLOPE)
+#ifdef ESLOPE
 /// Backwards compatibility with SRB2CB's slope linedef types.
 ///	\note	A simple shim that prints a warning.
 #define ESLOPE_TYPESHIM
diff --git a/src/p_slopes.c b/src/p_slopes.c
index 797c6a5589..b6338d95df 100644
--- a/src/p_slopes.c
+++ b/src/p_slopes.c
@@ -275,7 +275,6 @@ void P_SpawnSlope_Line(int linenum)
 		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.y = line->v1->y + (line->v2->y - line->v1->y)/2;
 
-- 
GitLab