From 4ca453e2272beed121b957244408a61b0b0d8b9b Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 15 Aug 2009 08:18:13 +0000 Subject: don't render entites behind the camera --- src/client/keyboard.cc | 2 +- src/client/targets.cc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/client') diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc index ba67395..23e6634 100644 --- a/src/client/keyboard.cc +++ b/src/client/keyboard.cc @@ -176,7 +176,7 @@ Keyboard::Keyboard() add_key("pageup", SDLK_PAGEUP); add_key("pagedown", SDLK_PAGEDOWN); - add_key("f1", SDLK_F1, 0, "ui_menu"); + add_key("f1", SDLK_F1); add_key("f2", SDLK_F2); add_key("f3", SDLK_F3, 0, "@dock"); key = add_key("f4", SDLK_F4); diff --git a/src/client/targets.cc b/src/client/targets.cc index 496f4e5..e478d84 100644 --- a/src/client/targets.cc +++ b/src/client/targets.cc @@ -41,7 +41,6 @@ core::Cvar *snd_engines = 0; bool is_valid_hud_target(core::Entity *entity) { - if (entity->serverside()) { return false; } else if (!ext_render(entity)) { -- cgit v1.2.3