Fix a memleak pointed by @Zeno- in MeshUpdateQueue
[oweals/minetest.git] / src / guiChatConsole.h
index 3013a1d3134d905d4c0c4424cda38b2d6e30bb72..0332678c759667cd9d66ddcac93b22d8094fd4b9 100644 (file)
@@ -41,7 +41,7 @@ public:
        // Open the console (height = desired fraction of screen size)
        // This doesn't open immediately but initiates an animation.
        // You should call isOpenInhibited() before this.
-       void openConsole(f32 height);
+       void openConsole(f32 scale);
 
        bool isOpen() const;
 
@@ -98,7 +98,7 @@ private:
        v2u32 m_screensize;
 
        // used to compute how much time passed since last animate()
-       u32 m_animate_time_old;
+       u64 m_animate_time_old;
 
        // should the console be opened or closed?
        bool m_open;