projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ba1fb4
)
Save settings after dropping main menu
author
elagin
<elagin.pasha@gmail.com>
Thu, 31 Jan 2013 17:03:14 +0000
(21:03 +0400)
committer
PilzAdam
<pilzadam@minetest.net>
Mon, 20 May 2013 14:03:48 +0000
(16:03 +0200)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index e5c8a55d38571c17683350f913cd1f011ed2de5f..eda992793641949068475179dc0afc16a71bf240 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-1942,6
+1942,9
@@
int main(int argc, char *argv[])
sound = NULL;
}
+ // Save controls status
+ menu->readInput(&menudata);
+
infostream<<"Dropping main menu"<<std::endl;
menu->drop();