summaryrefslogtreecommitdiff
path: root/src/modalMenu.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-08 01:12:55 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-08 01:12:55 +0200
commitdd9e82f5bc2982abab436afdd68df799c6fdd857 (patch)
tree1aae2e8c85ed3630feb0f3af758ba4aa0f4a6d6c /src/modalMenu.h
parent25a7fabed83caccb2c321bb4d080c5907f37b60a (diff)
downloadminetest-dd9e82f5bc2982abab436afdd68df799c6fdd857.tar.gz
minetest-dd9e82f5bc2982abab436afdd68df799c6fdd857.tar.bz2
minetest-dd9e82f5bc2982abab436afdd68df799c6fdd857.zip
bug-fixin'
Diffstat (limited to 'src/modalMenu.h')
-rw-r--r--src/modalMenu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modalMenu.h b/src/modalMenu.h
index 2323a7e42..ebbb06cfe 100644
--- a/src/modalMenu.h
+++ b/src/modalMenu.h
@@ -86,7 +86,10 @@ public:
}
/*
- 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()
{