Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/player.h b/src/core/player.h
index 1f63d63..859eddc 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -19,6 +19,7 @@ class Player;
namespace core
{
+/// a player in the game
class Player
{
public:
@@ -38,6 +39,7 @@ public:
EntityControlable *controled;
};
+/// the local player, always has id 0
extern Player localplayer;
}