summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2010-12-14 01:56:24 +0200
committerPerttu Ahola <celeron55@gmail.com>2010-12-14 01:56:24 +0200
commit6129e31b96f31521a79f5dfd7968f0cf0decb200 (patch)
treea8369cc5d835e6fd762f7763a365a68160024e3f /src/main.cpp
parent47f76d8a5122767337f0c7b75c5c44a01c418141 (diff)
downloadminetest-6129e31b96f31521a79f5dfd7968f0cf0decb200.tar.gz
minetest-6129e31b96f31521a79f5dfd7968f0cf0decb200.tar.bz2
minetest-6129e31b96f31521a79f5dfd7968f0cf0decb200.zip
better graphics, zlib to work on vc++
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 49973e99c..3424266ef 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -219,6 +219,7 @@ TODO: A mapper to map contents to tile names (for each side)
#ifdef _MSC_VER
#pragma comment(lib, "Irrlicht.lib")
#pragma comment(lib, "jthread.lib")
+#pragma comment(lib, "zlibwapi.lib")
// This would get rid of the console window
//#pragma comment(linker, "/subsystem:windows /ENTRY:mainCRTStartup")
#endif
@@ -310,7 +311,7 @@ void set_default_settings()
g_settings.set("wanted_fps", "30");
g_settings.set("fps_max", "60");
g_settings.set("viewing_range_nodes_max", "300");
- g_settings.set("viewing_range_nodes_min", "20");
+ g_settings.set("viewing_range_nodes_min", "50");
g_settings.set("screenW", "");
g_settings.set("screenH", "");
g_settings.set("host_game", "");
@@ -1934,7 +1935,7 @@ int main(int argc, char *argv[])
/*
Meta-objects
*/
- if(n.d == CONTENT_LIGHT)
+ if(n.d == CONTENT_TORCH)
{
v3s16 dir = unpackDir(n.dir);
v3f dir_f = v3f(dir.X, dir.Y, dir.Z);