mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:23:52 +00:00
Fix uninitialized field in the mouse event
This commit is contained in:
parent
bce6effe95
commit
ac347810ca
1 changed files with 1 additions and 0 deletions
|
@ -368,6 +368,7 @@ InputWrapper::InputWrapper(SDL_Window* window, osg::ref_ptr<osgViewer::Viewer> v
|
||||||
pack_evt.yrel = 0;
|
pack_evt.yrel = 0;
|
||||||
pack_evt.z = mMouseZ;
|
pack_evt.z = mMouseZ;
|
||||||
pack_evt.zrel = 0;
|
pack_evt.zrel = 0;
|
||||||
|
pack_evt.timestamp = 0;
|
||||||
|
|
||||||
if(evt.type == SDL_MOUSEMOTION)
|
if(evt.type == SDL_MOUSEMOTION)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue