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.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;
}