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/guiFormSpecMenu.h | |
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/guiFormSpecMenu.h')
-rw-r--r-- | src/guiFormSpecMenu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index af2d3f45e..18ccf1c3a 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -421,7 +421,7 @@ protected: gui::IGUIStaticText *m_tooltip_element; u32 m_tooltip_show_delay; - s32 m_hovered_time; + s64 m_hovered_time; s32 m_old_tooltip_id; std::wstring m_old_tooltip; @@ -527,7 +527,7 @@ private: struct clickpos { v2s32 pos; - s32 time; + s64 time; }; clickpos m_doubleclickdetect[2]; |