From 4a952f22d779cdce27dbfc68a23a7d13d3e62c0d Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 24 Jan 2011 01:58:15 +0200 Subject: small fixes here and there --- src/main.cpp | 30 +++--------------------------- 1 file changed, 3 insertions(+), 27 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index f9b66ad02..7c5f6bf3e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2114,11 +2114,9 @@ int main(int argc, char *argv[]) camera_direction.rotateXZBy(camera_yaw); // This is at the height of the eyes of the current figure - v3f camera_position = - player_position + v3f(0, BS+BS/2, 0); + v3f camera_position = player_position + v3f(0, BS+BS/2, 0); // This is more like in minecraft - /*v3f camera_position = - player_position + v3f(0, BS+BS*0.65, 0);*/ + //v3f camera_position = player_position + v3f(0, BS+BS*0.625, 0); camera->setPosition(camera_position); // *100.0 helps in large map coordinates @@ -2828,29 +2826,7 @@ int main(int argc, char *argv[]) catch(con::PeerNotFoundException &e) { dstream<getVideoDriver(); - - dstream<<"Created menu"<run() && menu->getStatus() == false) - { - driver->beginScene(true, true, video::SColor(255,0,0,0)); - guienv->drawAll(); - driver->endScene(); - } - - dstream<<"Dropping menu"<drop(); - }*/ + error_message = L"Connection timed out."; } } // Menu-game loop -- cgit v1.2.3