Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/targets.cc')
-rw-r--r--src/client/targets.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/targets.cc b/src/client/targets.cc
index d1bed10..5b8e9ab 100644
--- a/src/client/targets.cc
+++ b/src/client/targets.cc
@@ -51,6 +51,11 @@ core::Entity* current()
return current_target;
}
+unsigned int current_id()
+{
+ return current_target_id;
+}
+
unsigned int hover()
{
return current_hover;