Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/targets.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/targets.cc b/src/client/targets.cc
index 9137739..c76d621 100644
--- a/src/client/targets.cc
+++ b/src/client/targets.cc
@@ -59,6 +59,8 @@ bool is_valid_hud_target(const core::Entity *entity)
{
if (entity->serverside()) {
return false;
+ } else if (entity->type() == core::Entity::Projectile) {
+ return false;
} else if (entity == core::localcontrol()) {
return false;
} else if (entity->has_flag(core::Entity::ShowOnMap)) {