Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wolf3d
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
wolf3d
Commits
62cbd84e
Commit
62cbd84e
authored
Jan 01, 2004
by
Steven Fuller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readded the mouse delta clearing that disappeared long ago.
parent
744ad325
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
wl_play.c
src/wl_play.c
+11
-2
No files found.
src/wl_play.c
View file @
62cbd84e
...
@@ -615,6 +615,8 @@ void CheckKeys()
...
@@ -615,6 +615,8 @@ void CheckKeys()
IN_ClearKeysDown
();
IN_ClearKeysDown
();
SD_MusicOn
();
SD_MusicOn
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
Paused
=
false
;
Paused
=
false
;
return
;
return
;
}
}
...
@@ -669,6 +671,8 @@ void CheckKeys()
...
@@ -669,6 +671,8 @@ void CheckKeys()
playstate
=
ex_abort
;
playstate
=
ex_abort
;
lasttimecount
=
get_TimeCount
();
lasttimecount
=
get_TimeCount
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
return
;
return
;
}
}
...
@@ -681,6 +685,9 @@ void CheckKeys()
...
@@ -681,6 +685,9 @@ void CheckKeys()
SETFONTCOLOR
(
0
,
15
);
SETFONTCOLOR
(
0
,
15
);
DebugKeys
();
DebugKeys
();
lasttimecount
=
get_TimeCount
();
lasttimecount
=
get_TimeCount
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
return
;
return
;
}
}
...
@@ -1189,6 +1196,8 @@ void PlayLoop()
...
@@ -1189,6 +1196,8 @@ void PlayLoop()
memset
(
buttonstate
,
0
,
sizeof
(
buttonstate
));
memset
(
buttonstate
,
0
,
sizeof
(
buttonstate
));
ClearPaletteShifts
();
ClearPaletteShifts
();
IN_GetMouseDelta
(
NULL
,
NULL
);
// Clear accumulated mouse movement
if
(
demoplayback
)
if
(
demoplayback
)
IN_StartAck
();
IN_StartAck
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment