aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJeija <norrepli@gmail.com>2012-12-31 19:33:36 +0100
committerPilzAdam <PilzAdam@gmx.de>2013-01-14 15:27:00 +0100
commit61f5ca6b164b035de41bd32bb9409c7e04ea0d41 (patch)
tree5e39250c378a9fa94e884e3450c62890119f846b /src/main.cpp
parent443bbe6a785721bcaedf02f26c8a32d98ba63aec (diff)
downloadminetest-61f5ca6b164b035de41bd32bb9409c7e04ea0d41.tar.gz
minetest-61f5ca6b164b035de41bd32bb9409c7e04ea0d41.tar.bz2
minetest-61f5ca6b164b035de41bd32bb9409c7e04ea0d41.zip
Add particles
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ede9f63b0..0af9d113c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1448,6 +1448,7 @@ int main(int argc, char *argv[])
menudata.trilinear_filter = g_settings->getBool("trilinear_filter");
menudata.enable_shaders = g_settings->getS32("enable_shaders");
menudata.preload_item_visuals = g_settings->getBool("preload_item_visuals");
+ menudata.enable_particles = g_settings->getBool("enable_particles");
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, menudata.mip_map);
menudata.creative_mode = g_settings->getBool("creative_mode");
menudata.enable_damage = g_settings->getBool("enable_damage");
@@ -1570,6 +1571,7 @@ int main(int argc, char *argv[])
g_settings->setS32("enable_shaders", menudata.enable_shaders);
g_settings->set("preload_item_visuals", itos(menudata.preload_item_visuals));
+ g_settings->set("enable_particles", itos(menudata.enable_particles));
g_settings->set("creative_mode", itos(menudata.creative_mode));
g_settings->set("enable_damage", itos(menudata.enable_damage));