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>2008-02-14 18:04:25 +0000
committerStijn Buys <ingar@osirion.org>2008-02-14 18:04:25 +0000
commit715d0c3952a3a1d59b64074e472d0a9a3b414351 (patch)
treea5d0ddd0613caaf4f9fe01f9a3bd34e823651ad5 /src/core/player.h
parent83e8023c5e46635753a609329cf9805a3520001e (diff)
dedicated server accepts incoming connections
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;
}