diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-09 17:44:24 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-09 17:44:24 +0000 |
commit | 06212c7d8dc20b11f49d54e42f8299740f90a231 (patch) | |
tree | af179e6015cb86be61ee640154fde1d70967d919 /src/client/targets.cc | |
parent | f0ba130494173d01c6e800c95e19dc1826ddc68e (diff) |
improved client notifications, minor bugfixes
Diffstat (limited to 'src/client/targets.cc')
-rw-r--r-- | src/client/targets.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<core::EntityControlable *>(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; |