diff options
author | ShadowNinja <shadowninja@minetest.net> | 2016-03-06 14:31:16 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2017-04-28 14:43:18 -0400 |
commit | b662a4577d692329b9ca83525e6039f2ddcd1ac1 (patch) | |
tree | d1f59d395f47320149560bef4278dc0e6a194473 /src/touchscreengui.cpp | |
parent | 7f4cdbcbe9b5b4655c2c5eba2043628487668e24 (diff) | |
download | minetest-b662a4577d692329b9ca83525e6039f2ddcd1ac1.tar.gz minetest-b662a4577d692329b9ca83525e6039f2ddcd1ac1.tar.bz2 minetest-b662a4577d692329b9ca83525e6039f2ddcd1ac1.zip |
Clean up getTime helpers
This increases size of the getTime return values to 64 bits.
It also removes the TimeGetter classes since the getTime functions
are now very precise.
Diffstat (limited to 'src/touchscreengui.cpp')
-rw-r--r-- | src/touchscreengui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/touchscreengui.cpp b/src/touchscreengui.cpp index 8d210c63a..1f80da691 100644 --- a/src/touchscreengui.cpp +++ b/src/touchscreengui.cpp @@ -794,7 +794,7 @@ void TouchScreenGUI::translateEvent(const SEvent &event) if (m_move_id == -1) { m_move_id = event.TouchInput.ID; m_move_has_really_moved = false; - m_move_downtime = getTimeMs(); + m_move_downtime = porting::getTimeMs(); m_move_downlocation = v2s32(event.TouchInput.X, event.TouchInput.Y); m_move_sent_as_mouse_event = false; } |