diff --git a/Source/m_misc.c b/Source/m_misc.c index 3bd5b18a..4db73a09 100644 --- a/Source/m_misc.c +++ b/Source/m_misc.c @@ -77,6 +77,7 @@ extern int tran_filter_pct; // killough 2/21/98 extern int screenblocks; extern int showMessages; +#ifdef MY_SDL_VER extern int i_SDLJoystickNum; extern int joystickSens_x; extern int joystickSens_y; @@ -85,6 +86,7 @@ extern int forceFlipPan; extern int grabmouse; extern int cfg_scalefactor; // haleyjd 05/11/09 extern int cfg_aspectratio; // haleyjd 05/11/09 +#endif extern char *chat_macros[], *wad_files[], *deh_files[]; // killough 10/98 diff --git a/Source/p_genlin.c b/Source/p_genlin.c index 0b3e58ce..30cfa8e2 100644 --- a/Source/p_genlin.c +++ b/Source/p_genlin.c @@ -387,13 +387,9 @@ manual_ceiling: //Dirn? ceiling->topheight : ceiling->bottomheight = targheight; // haleyjd: that's GNU C syntax up there. if(Dirn) - { ceiling->topheight = targheight; - } else - { ceiling->bottomheight = targheight; - } // set texture/type change properties if (ChgT) // if a texture change is indicated