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-17 18:59:52 +0000
committerStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
commit982562fa19bb87a3dab352e562f386f61c171b7b (patch)
treeaeade8d5b7d3c68f5c222af1d8ecc6a734e1b43f /src/core/player.cc
parentd198b7b8d9ff713d891f35ab173d1f428f610e7d (diff)
major rewrite of Cvar, Func and Entity
Diffstat (limited to 'src/core/player.cc')
-rw-r--r--src/core/player.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/player.cc b/src/core/player.cc
index 6bd79ec..b54bf9e 100644
--- a/src/core/player.cc
+++ b/src/core/player.cc
@@ -9,14 +9,13 @@
namespace core
{
-Player localplayer;
+Player Player::local;
Player::Player()
{
- id = 0;
- name.clear();
+ player_id = 0;
+ player_name.clear();
dirty = false;
-
control = 0;
}