diff --git a/src/doomdef.h b/src/doomdef.h index 8d823f0f9..80b2705eb 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -561,10 +561,6 @@ extern const char *compdate, *comptime, *comprevision, *compbranch; /// Undefine to use the new method of Gamma correction see colour cube in v_video.c #define BACKWARDSCOMPATCORRECTION -/// Backwards compatibility with SRB2CB's slope linedef types. -/// \note A simple shim that prints a warning. -#define ESLOPE_TYPESHIM - /// Delete file while the game is running. /// \note EXTREMELY buggy, tends to crash game. //#define DELFILE diff --git a/src/p_slopes.c b/src/p_slopes.c index 4e8918536..112ba008b 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -636,8 +636,6 @@ pslope_t *P_SlopeById(UINT16 id) // Reset the dynamic slopes pointer, and read all of the fancy schmancy slopes void P_ResetDynamicSlopes(void) { size_t i; -#ifdef ESLOPE_TYPESHIM // Rewrite old specials to new ones, and give a console warning - boolean warned = false; slopelist = NULL; slopecount = 0; @@ -648,13 +646,10 @@ void P_ResetDynamicSlopes(void) { { switch (lines[i].special) { -#ifdef ESLOPE_TYPESHIM // Rewrite old specials to new ones, and give a console warning -#define WARNME if (!warned) {warned = true; CONS_Alert(CONS_WARNING, "This level uses old slope specials.\nA conversion will be needed before 2.2's release.\n");} case 386: case 387: case 388: lines[i].special += 700-386; - WARNME P_SpawnSlope_Line(i); break; @@ -663,13 +658,11 @@ void P_ResetDynamicSlopes(void) { case 391: case 392: lines[i].special += 710-389; - WARNME P_SpawnSlope_Line(i); break; case 393: lines[i].special = 703; - WARNME P_SpawnSlope_Line(i); break; @@ -677,11 +670,8 @@ void P_ResetDynamicSlopes(void) { case 395: case 396: lines[i].special += 720-394; - WARNME break; -#endif - case 700: case 701: case 702: @@ -944,5 +934,4 @@ void P_ButteredSlope(mobj_t *mo) P_Thrust(mo, mo->standingslope->xydirection, thrust); } -// EOF -#endif // #ifdef ESLOPE +// EOF \ No newline at end of file