From 7bb460ab7274c46019315cf9aba1d308189ab0de Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Fri, 12 Jan 2018 11:56:07 +0500 Subject: Fixed some incorrect types for events --- src/GlobalState.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/GlobalState.cpp') diff --git a/src/GlobalState.cpp b/src/GlobalState.cpp index e947e01..f04bb35 100644 --- a/src/GlobalState.cpp +++ b/src/GlobalState.cpp @@ -143,10 +143,10 @@ void PhysExec() { } }); - listener.RegisterHandler("MouseMoved", [](const Event& eventData) { + listener.RegisterHandler("MouseMove", [](const Event& eventData) { if (!gs) return; - auto data = eventData.get>(); + auto data = eventData.get>(); gs->HandleRotation(std::get<0>(data),std::get<1>(data)); }); -- cgit v1.2.3