diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-12 12:56:38 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-01-13 03:39:34 +0100 |
commit | 20fd62e0beeacf8b2227309d15d4ce6db2b811f9 (patch) | |
tree | 50c91ef87196e9d3310910b757c742446d64adac /src/Render.cpp | |
parent | Added more mutexes -> It's working fine now (diff) | |
download | AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.tar AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.tar.gz AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.tar.bz2 AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.tar.lz AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.tar.xz AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.tar.zst AltCraft-20fd62e0beeacf8b2227309d15d4ce6db2b811f9.zip |
Diffstat (limited to 'src/Render.cpp')
-rw-r--r-- | src/Render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index c3fe137..b19b679 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -214,7 +214,7 @@ void Render::HandleEvents() { double deltaY = event.motion.yrel; deltaX *= sensetivity; deltaY *= sensetivity * -1; - DIRECT_EVENT_CALL("MouseMove", std::make_tuple(deltaX, deltaY)); + PUSH_EVENT("MouseMove", std::make_tuple(deltaX, deltaY)); } default: break; |