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-18 20:08:37 +0000
committerStijn Buys <ingar@osirion.org>2008-02-18 20:08:37 +0000
commit7daaf66869b7b9f85f71b1aa5e9a1b4c40710f33 (patch)
tree47535bcb196485d61064c2e875b760df11e22b8f /src/core/player.h
parente217a3fd8e5af449e2305aaf78723ff25b8fcbc2 (diff)
removed second localplayer
Diffstat (limited to 'src/core/player.h')
-rw-r--r--src/core/player.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/player.h b/src/core/player.h
index 490515d..11711b5 100644
--- a/src/core/player.h
+++ b/src/core/player.h
@@ -25,6 +25,9 @@ class Player
public:
Player();
~Player();
+
+ /// clear all the data
+ void clear();
/// name of the player
inline std::string const &name() const { return player_name; }
@@ -38,15 +41,11 @@ public:
/// name of the player
std::string player_name;
-
/// dirty state
bool dirty;
/// the entity the Player is currently controling
EntityControlable *control;
-
- /// the local player
- static Player local;
};
}