From 06212c7d8dc20b11f49d54e42f8299740f90a231 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 9 Nov 2008 17:44:24 +0000 Subject: improved client notifications, minor bugfixes --- src/client/targets.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/targets.cc') diff --git a/src/client/targets.cc b/src/client/targets.cc index c7fcf9e..04a4463 100644 --- a/src/client/targets.cc +++ b/src/client/targets.cc @@ -430,7 +430,7 @@ void draw() render_entity_sound(static_cast(entity)); } // find the current target - if (core::localcontrol() && is_legal_target(entity)) { + if (!core::localplayer()->view() && core::localcontrol() && is_legal_target(entity)) { if (entity->id() == current_target_id) { current_target = entity; -- cgit v1.2.3