Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-04-15 17:08:51 +0000
committerStijn Buys <ingar@osirion.org>2009-04-15 17:08:51 +0000
commita95028547981614e06ea7a6d22b853b85418cea3 (patch)
treed4d6998a4118a4d8690ce138d586abfba4893179 /src/client/targets.cc
parent4f33f59571f10019c1e7a0e3640b2f69c159a8cf (diff)
added info registry, list_info
added network info transfer added info based buy menu and related game changes
Diffstat (limited to 'src/client/targets.cc')
-rw-r--r--src/client/targets.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/targets.cc b/src/client/targets.cc
index 8a50510..af8ec17 100644
--- a/src/client/targets.cc
+++ b/src/client/targets.cc
@@ -362,7 +362,7 @@ void frame()
if (entity->id() == current_target_id) {
current_target = entity;
}
-
+
// check if the mouse is hovering the entity
Vector3f v(entity->location() - render::Camera::eye());
v.normalize();
@@ -390,10 +390,11 @@ void frame()
}
}
}
+
}
}
-
+
if (!current_target) {
current_target_id = 0;
} else {