summaryrefslogtreecommitdiff
path: root/src/doom
diff options
context:
space:
mode:
Diffstat (limited to 'src/doom')
-rw-r--r--src/doom/d_main.c18
-rw-r--r--src/doom/doomstat.h3
-rw-r--r--src/doom/g_game.c7
3 files changed, 1 insertions, 27 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c
index 3bc5bfe7..1a778730 100644
--- a/src/doom/d_main.c
+++ b/src/doom/d_main.c
@@ -1424,24 +1424,6 @@ void D_DoomMain (void)
startloadgame = -1;
}
- //!
- // @category video
- //
- // Disable vertical mouse movement.
- //
-
- if (M_CheckParm("-novert"))
- novert = true;
-
- //!
- // @category video
- //
- // Enable vertical mouse movement.
- //
-
- if (M_CheckParm("-nonovert"))
- novert = false;
-
if (W_CheckNumForName("SS_START") >= 0
|| W_CheckNumForName("FF_END") >= 0)
{
diff --git a/src/doom/doomstat.h b/src/doom/doomstat.h
index eb0f8b5d..40147833 100644
--- a/src/doom/doomstat.h
+++ b/src/doom/doomstat.h
@@ -94,9 +94,6 @@ extern int gamemap;
// If non-zero, exit the level after this number of minutes
extern int timelimit;
-// vertical movement from mouse/joystick disabled
-extern int novert;
-
// Nightmare mode flag, single player.
extern boolean respawnmonsters;
diff --git a/src/doom/g_game.c b/src/doom/g_game.c
index d2a33e1c..c430a870 100644
--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -527,12 +527,7 @@ void G_BuildTiccmd (ticcmd_t* cmd)
}
}
- // fraggle: allow disabling mouse y movement
-
- if (!novert)
- {
- forward += mousey;
- }
+ forward += mousey;
if (strafe)
side += mousex*2;