]> git.lizzy.rs Git - minetest.git/blobdiff - src/modalMenu.h
bug-fixin'
[minetest.git] / src / modalMenu.h
index 2323a7e427cab7cf298f7d0e983bf5d7468abc6d..ebbb06cfe0f8cde56acaa6a55067f532418ced40 100644 (file)
@@ -86,7 +86,10 @@ class GUIModalMenu : public gui::IGUIElement
        }
        
        /*
-               This should be called when the menu wants to quit
+               This should be called when the menu wants to quit.
+
+               WARNING: THIS DEALLOCATES THE MENU FROM MEMORY. Return
+               immediately if you call this from the menu itself.
        */
        void quitMenu()
        {