summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2013-09-08 19:14:31 +0000
committerSimon Howard2013-09-08 19:14:31 +0000
commit79c6c5e83d95f202f62ec01eb55310a03c8f9265 (patch)
tree48b555616734a90eb39b42ca072bc73ea5f39b24
parente10af52152ba793d983497cd86d7ccc10d32a13d (diff)
downloadchocolate-doom-79c6c5e83d95f202f62ec01eb55310a03c8f9265.tar.gz
chocolate-doom-79c6c5e83d95f202f62ec01eb55310a03c8f9265.tar.bz2
chocolate-doom-79c6c5e83d95f202f62ec01eb55310a03c8f9265.zip
Fix backwards logic for -novert handling.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2640
-rw-r--r--src/i_video.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i_video.c b/src/i_video.c
index 8af04956..66104de9 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -712,11 +712,11 @@ static void I_ReadMouse(void)
if (!novert)
{
- ev.data3 = 0;
+ ev.data3 = -AccelerateMouse(y);
}
else
{
- ev.data3 = -AccelerateMouse(y);
+ ev.data3 = 0;
}
D_PostEvent(&ev);